public void testSmallerThanItemsPerPageBug() {
List<Object> items = Arrays.asList(new Object[] {1, 2, 3, 4});
Paginator pager = new Paginator(items.size(), 20);
pager.go(2);
assertEquals(1, pager.firstPage());
assertEquals(1, pager.lastPage());
assertEquals(items, pager.slice(items));