### Question:
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);  }### Answer:
@Test public void testOnScriptEditorSelected() { presenter.onScriptEditorSelected(); verify(scriptEditor).setValue(any()); verify(view).clearError(); verifyShowScriptEditor(); }