assertThat(iterator.next(), sameInstance(element2));
assertThat(iterator.hasNext(), is(false));
}
public void more_pages_must_work() {
Change element0 = new Change();
Change element1 = new Change();
Change element2 = new Change();
Change element3 = new Change();
addAll(element0, element1);
addAll(element2, element3);
Iterator<Change> iterator = getIterator();