### Question:
ImportRepositoryPopUpPresenter { public void cancel() { view.hide(); } @Inject  ImportRepositoryPopUpPresenter(final View view,
                                          final LibraryPlaces libraryPlaces,
                                          final Caller<ProjectImportService> importService,
                                          final Caller<LibraryService> libraryService,
                                          final WorkspaceProjectContext projectContext,
                                          final Event<NotificationEvent> notificationEvent,
                                          final TranslationService ts); @PostConstruct void setup(); void show(); void importRepository(); void cancel(); View getView();  }### Answer:
@Test public void cancelTest() { presenter.cancel(); verify(view).hide(); }