### Question:
DataTypeListShortcutsView implements DataTypeListShortcuts.View { void addHighlightClass(final Element element) { presenter.highlight(element); } @Inject  DataTypeListShortcutsView(final ScrollHelper scrollHelper); void init(final DataTypeListShortcuts presenter); @Override Optional<Element> getFirstDataTypeRow(); @Override Optional<Element> getNextDataTypeRow(); @Override Optional<Element> getPrevDataTypeRow(); @Override Optional<DataTypeListItem> getCurrentDataTypeListItem(); @Override List<DataTypeListItem> getVisibleDataTypeListItems(); @Override void highlight(final Element element); @Override void focusIn(); void reset();  }### Answer:
@Test public void testAddHighlightClass() { final Element element = mock(Element.class); view.addHighlightClass(element); verify(presenter).highlight(element); }