### Question:
ImportsWidgetPresenter implements ImportsWidgetView.Presenter,
                                               IsWidget { @Override public boolean isInternalImport(final Import importType) { return getInternalFactTypes().contains(importType); } ImportsWidgetPresenter(); @Inject  ImportsWidgetPresenter(final ImportsWidgetView view,
                                  final Event<ImportAddedEvent> importAddedEvent,
                                  final Event<ImportRemovedEvent> importRemovedEvent); @Override void setContent(final AsyncPackageDataModelOracle dmo,
                           final Imports importTypes,
                           final boolean isReadOnly); @Override boolean isInternalImport(final Import importType); @Override void onAddImport(final Import importType); @Override void onRemoveImport(final Import importType); @Override Widget asWidget();  }### Answer:
@Test public void isInternalImportWithoutSetup() { assertFalse(presenter.isInternalImport(mock(Import.class))); }
@Test public void isInternalImportWithoutSetupNullImportType() { assertFalse(presenter.isInternalImport(null)); }