### Question:
DataTypeListShortcuts { void onArrowDown() { view.getNextDataTypeRow().ifPresent(view::highlight); } @Inject  DataTypeListShortcuts(final View view,
                                 final DataTypeUtils dataTypeUtils); @PostConstruct void init(); void init(final DataTypeList dataTypeList); void reset();  }### Answer:
@Test public void testOnArrowDown() { final Element nextDataTypeRow = mock(Element.class); when(view.getNextDataTypeRow()).thenReturn(Optional.of(nextDataTypeRow)); shortcuts.onArrowDown(); verify(view).highlight(nextDataTypeRow); }