@Test public void testReset() { searchBar.reset(); verify(searchBar).setCurrentSearch(""); verify(dataTypeList).showListItems(); verify(view).resetSearchBar(); verify(searchBar).restoreDataTypeListPositions(); }
public void reset() { setCurrentSearch(""); dataTypeList.showListItems(); view.resetSearchBar(); restoreDataTypeListPositions(); }
DataTypeSearchBar { public void reset() { setCurrentSearch(""); dataTypeList.showListItems(); view.resetSearchBar(); restoreDataTypeListPositions(); } }
DataTypeSearchBar { public void reset() { setCurrentSearch(""); dataTypeList.showListItems(); view.resetSearchBar(); restoreDataTypeListPositions(); } @Inject  DataTypeSearchBar(final View view,
                             final DataTypeSearchEngine searchEngine,
                             final DataTypeList dataTypeList); }
DataTypeSearchBar { public void reset() { setCurrentSearch(""); dataTypeList.showListItems(); view.resetSearchBar(); restoreDataTypeListPositions(); } @Inject  DataTypeSearchBar(final View view,
                             final DataTypeSearchEngine searchEngine,
                             final DataTypeList dataTypeList); HTMLElement getElement(); void refresh(); void reset(); boolean isEnabled(); }
DataTypeSearchBar { public void reset() { setCurrentSearch(""); dataTypeList.showListItems(); view.resetSearchBar(); restoreDataTypeListPositions(); } @Inject  DataTypeSearchBar(final View view,
                             final DataTypeSearchEngine searchEngine,
                             final DataTypeList dataTypeList); HTMLElement getElement(); void refresh(); void reset(); boolean isEnabled();  }