### Question:
DataTypeListShortcuts { void onArrowLeft() { getCurrentDataTypeListItem().ifPresent(DataTypeListItem::collapse); } @Inject  DataTypeListShortcuts(final View view,
                                 final DataTypeUtils dataTypeUtils); @PostConstruct void init(); void init(final DataTypeList dataTypeList); void reset();  }### Answer:
@Test public void testOnArrowLeft() { shortcuts.onArrowLeft(); verify(listItem).collapse(); }