Query<Cafe> query2 = query1.skipToken("Skip1");
Iterator<Cafe> iterator = query2.iterator();
assertTrue(iterator.hasNext());
Cafe cafe = iterator.next();
assertEquals("1", cafe.getId());
assertEquals("Le Cafe Louis", cafe.getName());
assertEquals("Cafe corp.", cafe.getCompanyName());
assertEquals("Levallois-Perret", cafe.getCity());
assertEquals(92300, cafe.getZipCode());
assertTrue(iterator.hasNext());
cafe = iterator.next();
assertEquals("2", cafe.getId());
assertEquals("Le Petit Marly", cafe.getName());
assertEquals("Cafe inc.", cafe.getCompanyName());
assertEquals("Marly Le Roi", cafe.getCity());
assertEquals(78310, cafe.getZipCode());
assertTrue(iterator.hasNext());
cafe = iterator.next();
assertEquals("1", cafe.getId());
assertEquals("Le Cafe Louis", cafe.getName());
assertEquals("Cafe corp.", cafe.getCompanyName());
assertEquals("Levallois-Perret", cafe.getCity());
assertEquals(92300, cafe.getZipCode());
assertTrue(iterator.hasNext());
cafe = iterator.next();
assertEquals("2", cafe.getId());
assertEquals("Le Petit Marly", cafe.getName());
assertEquals("Cafe inc.", cafe.getCompanyName());
assertEquals("Marly Le Roi", cafe.getCity());
assertEquals(78310, cafe.getZipCode());
}