@Test public void testGetTitle() throws Exception { final String errorKey = GuidedDecisionTableErraiConstants.WorkItemPage_WorkItem; 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.WorkItemPage_WorkItem); }
WorkItemPage extends BaseDecisionTableColumnPage<T> { @Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.WorkItemPage_WorkItem); } }
WorkItemPage extends BaseDecisionTableColumnPage<T> { @Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.WorkItemPage_WorkItem); } @Inject  WorkItemPage(final View view,
                        final TranslationService translationService); }
WorkItemPage extends BaseDecisionTableColumnPage<T> { @Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.WorkItemPage_WorkItem); } @Inject  WorkItemPage(final View view,
                        final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView(); void enableParameters(); }
WorkItemPage extends BaseDecisionTableColumnPage<T> { @Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.WorkItemPage_WorkItem); } @Inject  WorkItemPage(final View view,
                        final TranslationService translationService); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView(); void enableParameters();  }