ExecutionErrorDetailsPresenter implements RefreshMenuBuilder.SupportsRefresh { public void refreshExecutionErrorDataRemote(final String serverTemplateId, final String deploymentId, final String errorId) { executorServices.call( (ExecutionErrorSummary executionErrorSummary) -> { view.setValue(executionErrorSummary); changeTitleWidgetEvent.fire(new ChangeTitleWidgetEvent(this.place, getErrorDetailTitle(executionErrorSummary))); }) .getError(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 testRefreshErrorDetails() { presenter.refreshExecutionErrorDataRemote(serverTemplateId, deploymentId, errorId); assertRefresErrorDetails(); }