ExecutionErrorDetailsPresenter implements RefreshMenuBuilder.SupportsRefresh { public static String getErrorDetailTitle(final ExecutionErrorSummary summary) { return summary.getProcessId() + " - " + summary.getProcessInstanceId() + " (" + summary.getDeploymentId() + ")"; }  @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 testErrorDetailTitleGeneration() { ExecutionErrorSummary testError = createTestError(errorId, deploymentId); String title = ExecutionErrorDetailsPresenter.getErrorDetailTitle(testError); assertEquals(testError.getProcessId() + " - " + testError.getProcessInstanceId() + " (" + testError.getDeploymentId() + ")", title); }