@Test
public void testPaginationWithCursor() {

    List<PaginableItem> items = PaginableItems.items(100);
    PaginableItem removed = items.remove(50);
    Page page = FIRST_PAGE.toBuilder().withCursor(PAGINATION_EVALUATOR.encode(removed)).build();
    paginateThroughAllRemainingPages(page, items.subList(50, items.size()));
}