ExecutionErrorDetailsPresenter implements RefreshMenuBuilder.SupportsRefresh { public void onExecutionErrorSelectedEvent(@Observes ExecutionErrorSelectedEvent event) { this.serverTemplateId = event.getServerTemplateId(); this.deploymentId = event.getDeploymentId(); this.errorId = event.getErrorId(); refreshExecutionErrorDataRemote(serverTemplateId, deploymentId, errorId); }  @WorkbenchPartView UberElement<ExecutionErrorDetailsPresenter> getView(); @WorkbenchPartTitle String getTitle(); @OnStartup void onStartup(final PlaceRequest place); static String getErrorDetailTitle(final ExecutionErrorSummary summary); void onExecutionErrorSelectedEvent(@Observes ExecutionErrorSelectedEvent event); @Override void onRefresh(); void refreshExecutionErrorDataRemote(final String serverTemplateId,
                                                final String deploymentId,
                                                final String errorId); @Inject void setExecutorService(final Caller<ExecutorService> executorServices); @Inject void setChangeTitleWidgetEvent(final Event<ChangeTitleWidgetEvent> changeTitleWidgetEvent); @Inject
    public ExecErrorDetailsView view; }
@Test public void testErrorSelection() { presenter.onExecutionErrorSelectedEvent(new ExecutionErrorSelectedEvent(serverTemplateId, deploymentId, errorId)); assertRefresErrorDetails(); }