@Test public void testOnScriptEditorSelected() { presenter.onScriptEditorSelected(); verify(scriptEditor).setValue(any()); verify(view).clearError(); verifyShowScriptEditor(); }
void onScriptEditorSelected() { scriptEditor.setValue(value); clearError(); showScriptEditor(); }
ConditionEditorFieldEditorPresenter extends FieldEditorPresenter<ScriptTypeValue> { void onScriptEditorSelected() { scriptEditor.setValue(value); clearError(); showScriptEditor(); } }
ConditionEditorFieldEditorPresenter extends FieldEditorPresenter<ScriptTypeValue> { void onScriptEditorSelected() { scriptEditor.setValue(value); clearError(); showScriptEditor(); } @Inject  ConditionEditorFieldEditorPresenter(final View view,
                                               final SimpleConditionEditorPresenter simpleConditionEditor,
                                               final ScriptTypeFieldEditorPresenter scriptEditor,
                                               final ErrorPopupPresenter errorPopup,
                                               final ConditionEditorParsingService conditionEditorParsingService,
                                               final ConditionEditorGeneratorService conditionEditorGeneratorService,
                                               final ClientTranslationService translationService); }
ConditionEditorFieldEditorPresenter extends FieldEditorPresenter<ScriptTypeValue> { void onScriptEditorSelected() { scriptEditor.setValue(value); clearError(); showScriptEditor(); } @Inject  ConditionEditorFieldEditorPresenter(final View view,
                                               final SimpleConditionEditorPresenter simpleConditionEditor,
                                               final ScriptTypeFieldEditorPresenter scriptEditor,
                                               final ErrorPopupPresenter errorPopup,
                                               final ConditionEditorParsingService conditionEditorParsingService,
                                               final ConditionEditorGeneratorService conditionEditorGeneratorService,
                                               final ClientTranslationService translationService); boolean isServiceAvailable(); @PostConstruct void init(); void init(ClientSession session); @Override void setReadOnly(boolean readOnly); @Override void setValue(ScriptTypeValue value); }
ConditionEditorFieldEditorPresenter extends FieldEditorPresenter<ScriptTypeValue> { void onScriptEditorSelected() { scriptEditor.setValue(value); clearError(); showScriptEditor(); } @Inject  ConditionEditorFieldEditorPresenter(final View view,
                                               final SimpleConditionEditorPresenter simpleConditionEditor,
                                               final ScriptTypeFieldEditorPresenter scriptEditor,
                                               final ErrorPopupPresenter errorPopup,
                                               final ConditionEditorParsingService conditionEditorParsingService,
                                               final ConditionEditorGeneratorService conditionEditorGeneratorService,
                                               final ClientTranslationService translationService); boolean isServiceAvailable(); @PostConstruct void init(); void init(ClientSession session); @Override void setReadOnly(boolean readOnly); @Override void setValue(ScriptTypeValue value);  }