@Test
public void shouldLoadRecordsForNextPage() throws JSONException {

    List<Child> children = Arrays.asList(new Child("id", "user", "{\"name\": \"Foo Bar\"}"));
    when(repository.getRecordsBetween(anyInt(), anyInt())).thenReturn(children);
    doReturn(true).when(scroller).shouldQueryForMoreData();
    scroller.loadRecordsForNextPage();
    verify(repository, atLeastOnce()).getRecordsBetween(anyInt(), anyInt());
    verify(highlightedFieldsViewAdapter, atLeastOnce()).addAll(children);
}