@Test
public void consumerIsUsedOnAllReturnedEntities() {

    List<String> fullList = generateList(4);
    List<String> batch = generateList(1);
    final BatchProcessor sut = makeSut(batch, 1);
    Consumer<String> consumerMock = mock(Consumer.class);
    sut.process("Some collection",
            b -> "",
            fullList,
            String.class,
            consumerMock);
    verify(consumerMock, times(fullList.size())).accept(anyString());
}