@Test public void testCurrentPatternValueWhenTheCurrentPatternIsNull() throws Exception { when(plugin.patternWrapper()).thenReturn(null); final String patternValue = page.currentPatternValue(); assertEquals("", patternValue); }
String currentPatternValue() { return currentPattern().key(); }
PatternPage extends BaseDecisionTableColumnPage<T> { String currentPatternValue() { return currentPattern().key(); } }
PatternPage extends BaseDecisionTableColumnPage<T> { String currentPatternValue() { return currentPattern().key(); } @Inject  PatternPage(final View view,
                       final NewPatternPresenter newPatternPresenter,
                       final TranslationService translationService); }
PatternPage extends BaseDecisionTableColumnPage<T> { String currentPatternValue() { return currentPattern().key(); } @Inject  PatternPage(final View view,
                       final NewPatternPresenter newPatternPresenter,
                       final TranslationService translationService); @Override void initialise(); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView(); GuidedDecisionTableView.Presenter presenter(); void setEditingPattern(final PatternWrapper wrapper); void disableEntryPoint(); boolean isNegatedPatternEnabled(); void disableNegatedPatterns(); boolean isPatternCreationEnabled(); void disablePatternCreation(); }
PatternPage extends BaseDecisionTableColumnPage<T> { String currentPatternValue() { return currentPattern().key(); } @Inject  PatternPage(final View view,
                       final NewPatternPresenter newPatternPresenter,
                       final TranslationService translationService); @Override void initialise(); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void prepareView(); GuidedDecisionTableView.Presenter presenter(); void setEditingPattern(final PatternWrapper wrapper); void disableEntryPoint(); boolean isNegatedPatternEnabled(); void disableNegatedPatterns(); boolean isPatternCreationEnabled(); void disablePatternCreation();  }