assertFalse(pageNavigation.hasNextPage());
assertEquals(pageNavigation.getPreviousPage(), "_design/pet/_view/byType?startkey=%22DOG%22&startkey_docid=Pet:7&skip=1&descending=true&endkey=%22DOG%22");
// assertEquals(pageNavigation.getPreviousPage(), "_design/pet/_view/byType?startkey=%22DOG%22&startkey_docid=Pet:7&skip=1&descending=true&key=%22DOG%22")
// Previous to Second page
er = couchDatabase.get().entity(PetEntity.class, pageNavigation.queryPreviousPage()).execute();
assertEquals(er.getSize(), 3);
foundPets = er.getEntityList();
assertEquals(foundPets.get(0), pets[3]);
assertEquals(foundPets.get(1), pets[4]);
assertEquals(foundPets.get(2), pets[5]);