SelectionTracker implements Serializable { public void selectAll() { List<SelectableWrapper<T>> selectionList = selectable.getSelectionList(); List<SelectableWrapper<T>> filteredData = selectable.getFilteredData(); for (SelectableWrapper<T> wrapper : selectionList) { if (filteredData.contains(wrapper)) { wrapper.setSelected(true); } } } SelectionTracker(@Nonnull Multiselectable<T> selectable); void selectAll(); void unselectAll(); boolean hasSelected();  }
@Test public void testSelectAll_1() throws Exception { SelectionTracker fixture = new SelectionTracker(new DataFileBrowser()); fixture.selectAll(); }
@Test public void testSelectAll_2() throws Exception { SelectionTracker fixture = new SelectionTracker(new DataFileBrowser()); fixture.selectAll(); }
@Test public void testSelectAll_3() throws Exception { SelectionTracker fixture = new SelectionTracker(new DataFileBrowser()); fixture.selectAll(); }