ProcessInstanceDetailsTabViewImpl extends Composite implements ProcessInstanceDetailsTabPresenter.ProcessInstanceDetailsTabView { @Override public void setParentProcessInstanceIdText(final String value, final boolean hasParentProcessInstanceId) { if (!hasParentProcessInstanceId) { parentAnchor.setEnabled(false); } else { parentAnchor.setEnabled(true); } parentAnchor.setText(value); }  @PostConstruct void init(); @Override void setProcessInstanceDetailsCallback(Command callback); @Override void setProcessDefinitionIdText(final String value); @Override void setCurrentActivitiesListBox(final String value); @Override void setActiveTasksListBox(final String value); @Override void setStateText(final String value); @Override void setProcessDeploymentText(final String value); @Override void setCorrelationKeyText(final String value); @Override void setParentProcessInstanceIdText(final String value, final boolean hasParentProcessInstanceId); @Override void setProcessVersionText(final String value); @Override void setSlaComplianceText(final String value); @Inject
    @DataField
    public HTMLParagraphElement processDefinitionIdText; @Inject
    @DataField
    public HTMLParagraphElement processDeploymentText; @Inject
    @DataField
    public HTMLParagraphElement processVersionText; @Inject
    @DataField
    public HTMLParagraphElement slaComplianceText; @Inject
    @DataField
    public HTMLParagraphElement correlationKeyText; @Inject
    @DataField
    public HTMLLabelElement parentProcessInstanceIdLabel; @Inject
    @DataField
    public HTMLParagraphElement stateText; @Inject
    @DataField
    public HTMLParagraphElement currentActivitiesListBox; @Inject
    @DataField
    public HTMLLabelElement processDefinitionIdLabel; @Inject
    @DataField
    public HTMLLabelElement processDeploymentLabel; @Inject
    @DataField
    public HTMLLabelElement processVersionLabel; @Inject
    @DataField
    public HTMLLabelElement slaComplianceLabel; @Inject
    @DataField
    public HTMLLabelElement correlationKeyLabel; @Inject
    @DataField
    public HTMLLabelElement stateLabel; @Inject
    @DataField
    public HTMLLabelElement currentActivitiesListLabel; @Inject
    @DataField
    public HTMLParagraphElement activeTasksListBox; @Inject
    @DataField
    public HTMLLabelElement activeTasksListLabel; }
@Test public void setParentProcessInstanceIdTextTest() { processInstanceDetailsTabView.setParentProcessInstanceIdText("No Parent Process Instance", false); verify(parentAnchor).setEnabled(false); verify(parentAnchor).setText("No Parent Process Instance"); processInstanceDetailsTabView.setParentProcessInstanceIdText("1", true); verify(parentAnchor).setEnabled(true); verify(parentAnchor).setText("1"); }