### Question:
DataTypeListShortcutsView implements DataTypeListShortcuts.View { @Override public void highlight(final Element element) { setCurrentUUID(getUUID(element)); addHighlightClass(element); scrollTo(element); highlightLevel(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 testHighlight() { final String uuid = "uuid"; final Element element = fakeDataTypeRow(uuid); doNothing().when(view).cleanCurrentHighlight(); doNothing().when(view).setCurrentUUID(anyString()); doNothing().when(view).addHighlightClass(any()); doNothing().when(view).scrollTo(any()); doNothing().when(view).highlightLevel(any()); view.highlight(element); verify(view).setCurrentUUID(uuid); verify(view).addHighlightClass(element); verify(view).scrollTo(element); verify(view).highlightLevel(element); }