ExportPresenter extends SubversionActionPresenter implements ExportView.ActionDelegate { public void showExport(HasStorablePath selectedNode) { this.selectedNode = selectedNode; view.onShow(); } @Inject  ExportPresenter(AppContext appContext,
                           EventBus eventBus,
                           RawOutputPresenter console,
                           WorkspaceAgent workspaceAgent,
                           ProjectExplorerPresenter projectExplorerPart,
                           ExportView view,
                           NotificationManager notificationManager,
                           SubversionExtensionLocalizationConstants constants,
                           @RestContext String restContext,
                           @Named("workspaceId") String workspaceId); void showExport(HasStorablePath selectedNode); @Override void onCancelClicked(); @Override void onExportClicked(); @Override void minimize(); @Override void activatePart();  }
@Test public void testExportViewShouldBeShowed() throws Exception { presenter.showExport(mock(HasStorablePath.class)); verify(exportView).onShow(); }