@Test public void testGetTitle() throws Exception { final String errorKey = GuidedDecisionTableErraiConstants.CalculationTypePage_CalculationType; final String errorMessage = "Title"; when(translationService.format(errorKey)).thenReturn(errorMessage); final String title = page.getTitle(); assertEquals(errorMessage, title); }
@Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.CalculationTypePage_CalculationType); }
CalculationTypePage extends BaseDecisionTableColumnPage<ConditionColumnPlugin> { @Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.CalculationTypePage_CalculationType); } }
CalculationTypePage extends BaseDecisionTableColumnPage<ConditionColumnPlugin> { @Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.CalculationTypePage_CalculationType); } @Inject  CalculationTypePage(final View view,
                               final TranslationService translationService); }
CalculationTypePage extends BaseDecisionTableColumnPage<ConditionColumnPlugin> { @Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.CalculationTypePage_CalculationType); } @Inject  CalculationTypePage(final View view,
                               final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView(); }
CalculationTypePage extends BaseDecisionTableColumnPage<ConditionColumnPlugin> { @Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.CalculationTypePage_CalculationType); } @Inject  CalculationTypePage(final View view,
                               final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView();  }