ScrollableList implements Scrollable<E> { public List<E> getResultList() { try { update(); return this.resultList; } catch (Exception e) { throw new RuntimeException(e); } }  long getMaxResultsPerPage(); void markForUpdate(); void setMaxResultsPerPage(int maxResults); void next(); void first(); void previous(); boolean isPreviousAvailable(); boolean isNextAvailable(); List<E> getResultList();  }
@Test public void testGetResultList() { List<String> results = scrollableList.getResultList(); assertNotNull(results); assertEquals("list-value-0", results.get(0)); }