@Test public void testGetTitle() throws Exception { final String errorKey = GuidedDecisionTableErraiConstants.MetaDataColumnPage_AddNewMetadata; 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.MetaDataColumnPage_AddNewMetadata); }
MetaDataColumnPage extends BaseDecisionTableColumnPage<MetaDataColumnPlugin> { @Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.MetaDataColumnPage_AddNewMetadata); } }
MetaDataColumnPage extends BaseDecisionTableColumnPage<MetaDataColumnPlugin> { @Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.MetaDataColumnPage_AddNewMetadata); } @Inject  MetaDataColumnPage(final View view,
                              final TranslationService translationService,
                              final Caller<ValidationService> validationService); }
MetaDataColumnPage extends BaseDecisionTableColumnPage<MetaDataColumnPlugin> { @Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.MetaDataColumnPage_AddNewMetadata); } @Inject  MetaDataColumnPage(final View view,
                              final TranslationService translationService,
                              final Caller<ValidationService> validationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView(); String getMetadata(); void setMetadata(String metadata); }
MetaDataColumnPage extends BaseDecisionTableColumnPage<MetaDataColumnPlugin> { @Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.MetaDataColumnPage_AddNewMetadata); } @Inject  MetaDataColumnPage(final View view,
                              final TranslationService translationService,
                              final Caller<ValidationService> validationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView(); String getMetadata(); void setMetadata(String metadata);  }