@Test public void testSetupCurrentFieldWhenFactFieldIsNull() throws Exception { final String factField = null; doReturn(factField).when(plugin).getFactField(); page.setupCurrentField(); verify(view).setCurrentField(""); verify(view).currentFieldToggle(false); }
void setupCurrentField() { view.setCurrentField(currentField()); view.currentFieldToggle(hasFactField()); }
OperatorPage extends BaseDecisionTableColumnPage<ConditionColumnPlugin> { void setupCurrentField() { view.setCurrentField(currentField()); view.currentFieldToggle(hasFactField()); } }
OperatorPage extends BaseDecisionTableColumnPage<ConditionColumnPlugin> { void setupCurrentField() { view.setCurrentField(currentField()); view.currentFieldToggle(hasFactField()); } @Inject  OperatorPage(final View view,
                        final Event<WizardPageStatusChangeEvent> changeEvent,
                        final TranslationService translationService); }
OperatorPage extends BaseDecisionTableColumnPage<ConditionColumnPlugin> { void setupCurrentField() { view.setCurrentField(currentField()); view.currentFieldToggle(hasFactField()); } @Inject  OperatorPage(final View view,
                        final Event<WizardPageStatusChangeEvent> changeEvent,
                        final TranslationService translationService); @Override String getTitle(); @Override void prepareView(); @Override void isComplete(final Callback<Boolean> callback); String getOperator(); }
OperatorPage extends BaseDecisionTableColumnPage<ConditionColumnPlugin> { void setupCurrentField() { view.setCurrentField(currentField()); view.currentFieldToggle(hasFactField()); } @Inject  OperatorPage(final View view,
                        final Event<WizardPageStatusChangeEvent> changeEvent,
                        final TranslationService translationService); @Override String getTitle(); @Override void prepareView(); @Override void isComplete(final Callback<Boolean> callback); String getOperator();  }