@Test public void testGetResultsContainer() { final HTMLElement expectedElement = mock(HTMLElement.class); when(dataTypeList.getElement()).thenReturn(expectedElement); final HTMLElement actualElement = searchBar.getResultsContainer(); assertEquals(expectedElement, actualElement); }
HTMLElement getResultsContainer() { return dataTypeList.getElement(); }
DataTypeSearchBar { HTMLElement getResultsContainer() { return dataTypeList.getElement(); } }
DataTypeSearchBar { HTMLElement getResultsContainer() { return dataTypeList.getElement(); } @Inject  DataTypeSearchBar(final View view,
                             final DataTypeSearchEngine searchEngine,
                             final DataTypeList dataTypeList); }
DataTypeSearchBar { HTMLElement getResultsContainer() { return dataTypeList.getElement(); } @Inject  DataTypeSearchBar(final View view,
                             final DataTypeSearchEngine searchEngine,
                             final DataTypeList dataTypeList); HTMLElement getElement(); void refresh(); void reset(); boolean isEnabled(); }
DataTypeSearchBar { HTMLElement getResultsContainer() { return dataTypeList.getElement(); } @Inject  DataTypeSearchBar(final View view,
                             final DataTypeSearchEngine searchEngine,
                             final DataTypeList dataTypeList); HTMLElement getElement(); void refresh(); void reset(); boolean isEnabled();  }