### Question:
InputSetup { public InputSetup<TRecord, TResponse> given(List<TRecord> records) throws IOException { this.responseHandler.accept(writer.put(records)); return this; } InputSetup(Writer<TRecord, TResponse> writer); InputSetup<TRecord, TResponse> thenWait(Long millis); InputSetup<TRecord, TResponse> withResponseHandler(Consumer<TResponse> responseHandler); InputSetup<TRecord, TResponse> given(List<TRecord> records);  }### Answer:
@Test public void given_GivenRecords_ShouldDelegateToWriterPutMethod() throws IOException { List<String> expected = ImmutableList.of(UUID.randomUUID().toString()); setup.given(expected); Mockito.verify(spyWriter).put(expected); }