### Question:
DataTypeList { @PostConstruct void setup() { view.init(this); highlightHelper.init(this); dndDataTypesHandler.init(this); dndListComponent.setOnDropItem(getOnDropDataType()); if (!isKogito.get()) { view.showImportDataObjectButton(); } else { view.hideImportDataObjectButton(); } } @Inject  DataTypeList(final View view,
                        final ManagedInstance<DataTypeListItem> listItems,
                        final DataTypeManager dataTypeManager,
                        final DataTypeSearchBar searchBar,
                        final DNDListComponent dndListComponent,
                        final DataTypeStackHash dataTypeStackHash,
                        final DNDDataTypesHandler dndDataTypesHandler,
                        final DataTypeListHighlightHelper highlightHelper,
                        final IsKogito isKogito); HTMLElement getElement(); void setupItems(final List<DataType> dataTypes); Optional<DataTypeListItem> findItem(final DataType dataType); DNDListComponent getDNDListComponent(); List<DataTypeListItem> getItems(); void showNoDataTypesFound(); void showListItems(); void collapseAll(); void enableEditMode(final String dataTypeHash); void registerDataTypeListItemUpdateCallback(final Consumer<DataTypeListItem> onDataTypeListItemUpdate); Optional<DataTypeListItem> findItemByDataTypeHash(final String dataTypeHash); String calculateHash(final DataType dataType); void onDataTypeEditModeToggle(final @Observes DataTypeEditModeToggleEvent event); HTMLElement getListItems(); void importDataObjects(final List<DataObject> selectedDataObjects); void disableEditModeForChildren(final DataTypeListItem dataTypeListItem); List<String> getExistingDataTypesNames(); void highlightLevel(final DataType dataType); void highlightLevel(final Element element); void highlight(final Element element); void cleanLevelHighlightClass(); void cleanHighlightClass();  }### Answer:
@Test public void testSetup() { final BiConsumer<Element, Element> consumer = (a, b) -> {}; doReturn(consumer).when(dataTypeList).getOnDropDataType(); dataTypeList.setup(); verify(view).init(dataTypeList); verify(highlightHelper).init(dataTypeList); verify(view).showImportDataObjectButton(); verify(dndDataTypesHandler).init(dataTypeList); verify(dndListComponent).setOnDropItem(consumer); }