### Question:
ImportDataObjectModalView implements ImportDataObjectModal.View { @Override public void hideDataTypeWithSameNameWarning() { warningContainer.classList.remove(OPENED_CONTAINER_CSS_CLASS); } @Inject  ImportDataObjectModalView(final HTMLDivElement header,
                                     final HTMLDivElement body,
                                     final HTMLDivElement footer,
                                     final TreeList treeList,
                                     @Named("span") final HTMLElement noteText,
                                     final HTMLLabelElement noteLabel,
                                     final HTMLDivElement itemsContainer,
                                     final HTMLAnchorElement clearSelection,
                                     final ManagedInstance<TreeListItem> items,
                                     final HTMLButtonElement buttonImport,
                                     final HTMLButtonElement buttonCancel,
                                     final HTMLDivElement warningContainer); @PostConstruct void setup(); @Override String getHeader(); @Override HTMLElement getBody(); @Override HTMLElement getFooter(); @Override void init(final ImportDataObjectModal presenter); @Override void addItems(final List<DataObject> dataObjects); @Override void clear(); @Override void showDataTypeWithSameNameWarning(); @Override void hideDataTypeWithSameNameWarning();  }### Answer:
@Test public void testHideDataTypeWithSameNameWarning() { warningContainer.classList = mock(DOMTokenList.class); view.hideDataTypeWithSameNameWarning(); verify(warningContainer.classList).remove(OPENED_CONTAINER_CSS_CLASS); }