### Question:
DataTypeListShortcuts { @PostConstruct public void init() { view.init(this); } @Inject  DataTypeListShortcuts(final View view,
                                 final DataTypeUtils dataTypeUtils); @PostConstruct void init(); void init(final DataTypeList dataTypeList); void reset();  }### Answer:
@Test public void testInit() { final DataTypeListItem listItem = mock(DataTypeListItem.class); final HTMLElement htmlElement = mock(HTMLElement.class); final DataTypeList actualDataTypeList = shortcuts.getDataTypeList(); final DataTypeList expectedDataTypeList = shortcuts.getDataTypeList(); when(listItem.getDragAndDropElement()).thenReturn(htmlElement); assertEquals(expectedDataTypeList, actualDataTypeList); verify(expectedDataTypeList).registerDataTypeListItemUpdateCallback(onDataTypeListItemUpdateArgumentCaptor.capture()); onDataTypeListItemUpdateArgumentCaptor.getValue().accept(listItem); verify(view).highlight(htmlElement); }