@Test
public void testPagingWithFilteringAndComparatorAndIndex() {
final IMap<Integer, Integer> map = initMap();
map.addIndex("this", true);
final Predicate lessEqual = Predicates.between("this", 12, 20);
final PagingPredicate predicate = new PagingPredicate(lessEqual, new TestComparator(false, IterationType.VALUE), pageSize);
Collection<Integer> values = map.values(predicate);
assertIterableEquals(values, 20, 19, 18, 17, 16);