@Test public void testSetMode() { Arrays.stream(ScriptTypeMode.values()).forEach(mode -> { editor.setMode(mode); verify(scriptTypePresenter, times(1)).setMode(mode); }); }
public void setMode(ScriptTypeMode mode) { scriptTypePresenter.setMode(mode); }
ScriptTypeListFieldEditorPresenter extends FieldEditorPresenter<ScriptTypeListValue> { public void setMode(ScriptTypeMode mode) { scriptTypePresenter.setMode(mode); } }
ScriptTypeListFieldEditorPresenter extends FieldEditorPresenter<ScriptTypeListValue> { public void setMode(ScriptTypeMode mode) { scriptTypePresenter.setMode(mode); } @Inject  ScriptTypeListFieldEditorPresenter(final ScriptTypeFieldEditorPresenter scriptTypePresenter); }
ScriptTypeListFieldEditorPresenter extends FieldEditorPresenter<ScriptTypeListValue> { public void setMode(ScriptTypeMode mode) { scriptTypePresenter.setMode(mode); } @Inject  ScriptTypeListFieldEditorPresenter(final ScriptTypeFieldEditorPresenter scriptTypePresenter); @PostConstruct void init(); IsElement getView(); @Override void setValue(ScriptTypeListValue value); void setMode(ScriptTypeMode mode); @Override void setReadOnly(boolean readOnly); }
ScriptTypeListFieldEditorPresenter extends FieldEditorPresenter<ScriptTypeListValue> { public void setMode(ScriptTypeMode mode) { scriptTypePresenter.setMode(mode); } @Inject  ScriptTypeListFieldEditorPresenter(final ScriptTypeFieldEditorPresenter scriptTypePresenter); @PostConstruct void init(); IsElement getView(); @Override void setValue(ScriptTypeListValue value); void setMode(ScriptTypeMode mode); @Override void setReadOnly(boolean readOnly);  }