// Verifying paged results
assertEquals(2, query.listPage(0, 2).size());
assertEquals(2, query.listPage(2, 2).size());
assertEquals(3, query.listPage(4, 3).size());
assertEquals(1, query.listPage(10, 3).size());
assertEquals(1, query.listPage(10, 1).size());
// Verifying odd usages
assertEquals(0, query.listPage(-1, -1).size());
assertEquals(0, query.listPage(11, 2).size()); // 10 is the last index with a result
assertEquals(11, query.listPage(0, 15).size()); // there are only 11 tasks