@Test
public void shouldNotLoadRecordsForNextPage() throws JSONException {

    scroller = spy(new PaginatedSearchResultsScroller(childSearch, highlightedFieldsViewAdapter));
    doReturn(false).when(scroller).shouldQueryForMoreData();
    scroller.loadRecordsForNextPage();
    verify(repository, times(0)).getChildrenMatchingStringBetween(anyString(), anyInt(), anyInt());
    verify(highlightedFieldsViewAdapter, times(0)).addAll(anyList());
}