### Question:
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();  }### Answer:
@Test public void testReset() { searchBar.reset(); verify(searchBar).setCurrentSearch(""); verify(dataTypeList).showListItems(); verify(view).resetSearchBar(); verify(searchBar).restoreDataTypeListPositions(); }