@Test
public void setPageSize() throws Exception {

    int[] items = items(PAGE_SIZE);
    single.update(asList(items));
    assertVisibleFilteredAll(single, items(PAGE_SIZE), items, items);
    verify(display).showItems(itemsMatcher(items(PAGE_SIZE)), eq(new PageInfo(PAGE_SIZE, 0, PAGE_SIZE, PAGE_SIZE)));
    single.setPageSize(6);
    assertVisibleFilteredAll(single, items(6), items, items);
    verify(display).showItems(itemsMatcher(items(6)), eq(new PageInfo(6, 0, 6, PAGE_SIZE)));
}