@Test public void showDialogShouldBeExecuted() { presenter.showDialog(); verify(view).showDialog(); }
public void showDialog() { view.showDialog(); }
UploadFilePresenter implements UploadFileView.ActionDelegate { public void showDialog() { view.showDialog(); } }
UploadFilePresenter implements UploadFileView.ActionDelegate { public void showDialog() { view.showDialog(); } @Inject  UploadFilePresenter(UploadFileView view,
                               @Named("restContext") String restContext,
                               @Named("workspaceId") String workspaceId,
                               SelectionAgent selectionAgent,
                               EventBus eventBus,
                               NotificationManager notificationManager); }
UploadFilePresenter implements UploadFileView.ActionDelegate { public void showDialog() { view.showDialog(); } @Inject  UploadFilePresenter(UploadFileView view,
                               @Named("restContext") String restContext,
                               @Named("workspaceId") String workspaceId,
                               SelectionAgent selectionAgent,
                               EventBus eventBus,
                               NotificationManager notificationManager); void showDialog(); @Override void onCancelClicked(); @Override void onSubmitComplete(String result); @Override void onUploadClicked(); @Override void onFileNameChanged(); }
UploadFilePresenter implements UploadFileView.ActionDelegate { public void showDialog() { view.showDialog(); } @Inject  UploadFilePresenter(UploadFileView view,
                               @Named("restContext") String restContext,
                               @Named("workspaceId") String workspaceId,
                               SelectionAgent selectionAgent,
                               EventBus eventBus,
                               NotificationManager notificationManager); void showDialog(); @Override void onCancelClicked(); @Override void onSubmitComplete(String result); @Override void onUploadClicked(); @Override void onFileNameChanged();  }