ScrollableList implements Scrollable<E> { public void first() { this.markers.clear(); this.currentMarker = null; this.markedForUpdate = true; }  long getMaxResultsPerPage(); void markForUpdate(); void setMaxResultsPerPage(int maxResults); void next(); void first(); void previous(); boolean isPreviousAvailable(); boolean isNextAvailable(); List<E> getResultList();  }
@Test public void testFirst() { for (int i = 0; i < 3; i++) { scrollableList.next(); } assertNotSame("list-value-0", scrollableList.getResultList().get(0)); scrollableList.first(); assertEquals("list-value-0", scrollableList.getResultList().get(0)); }