@Test public void testSetStage_stageActive() { when(caseStageItemViewMock.getValue()).thenReturn(createCaseStageSummary(ACTIVE.getStatus())); getPresenter().setStage(caseStageItemViewMock); verify(caseStageItemViewMock).showStageActive(); }
void setStage(final CaseStageItemViewImpl caseStageItem) { if (caseStageItem.getValue().getStatus().equals(CaseStageStatus.ACTIVE.getStatus())) { caseStageItem.showStageActive(); } }
CaseStagesPresenter extends AbstractCaseInstancePresenter<CaseStagesPresenter.CaseStagesView> { void setStage(final CaseStageItemViewImpl caseStageItem) { if (caseStageItem.getValue().getStatus().equals(CaseStageStatus.ACTIVE.getStatus())) { caseStageItem.showStageActive(); } } }
CaseStagesPresenter extends AbstractCaseInstancePresenter<CaseStagesPresenter.CaseStagesView> { void setStage(final CaseStageItemViewImpl caseStageItem) { if (caseStageItem.getValue().getStatus().equals(CaseStageStatus.ACTIVE.getStatus())) { caseStageItem.showStageActive(); } }  }
CaseStagesPresenter extends AbstractCaseInstancePresenter<CaseStagesPresenter.CaseStagesView> { void setStage(final CaseStageItemViewImpl caseStageItem) { if (caseStageItem.getValue().getStatus().equals(CaseStageStatus.ACTIVE.getStatus())) { caseStageItem.showStageActive(); } }  @WorkbenchPartTitle String getTitle(); }
CaseStagesPresenter extends AbstractCaseInstancePresenter<CaseStagesPresenter.CaseStagesView> { void setStage(final CaseStageItemViewImpl caseStageItem) { if (caseStageItem.getValue().getStatus().equals(CaseStageStatus.ACTIVE.getStatus())) { caseStageItem.showStageActive(); } }  @WorkbenchPartTitle String getTitle(); static final String SCREEN_ID; }