@Test
public void getResults() {

    Map<String, Object> predicates = new HashMap<>();
    handler.getResults(resolver, predicates, 50, 10);
    verify(queryBuilder, times(1)).createQuery(Mockito.any(), Mockito.eq(session));
    verify(query, times(1)).setHitsPerPage(50L);
    verify(query, times(1)).setStart(10L);
}