@Test public void testSetOnChangeCommand() { presenter.setOnChangeCommand(onChangeCommand); presenter.onValueChange(); verify(onChangeCommand).execute(); }
public void setOnChangeCommand(Command onChangeCommand) { this.onChangeCommand = onChangeCommand; }
ConditionParamPresenter { public void setOnChangeCommand(Command onChangeCommand) { this.onChangeCommand = onChangeCommand; } }
ConditionParamPresenter { public void setOnChangeCommand(Command onChangeCommand) { this.onChangeCommand = onChangeCommand; } @Inject  ConditionParamPresenter(final View view, final ClientTranslationService translationService); }
ConditionParamPresenter { public void setOnChangeCommand(Command onChangeCommand) { this.onChangeCommand = onChangeCommand; } @Inject  ConditionParamPresenter(final View view, final ClientTranslationService translationService); @PostConstruct void init(); View getView(); String getName(); void setName(String name); void setHelp(String help); String getValue(); void setValue(String value); void clear(); void clearError(); void setError(String error); void setReadonly(boolean readonly); void setOnChangeCommand(Command onChangeCommand); boolean validateParam(String expectedType); }
ConditionParamPresenter { public void setOnChangeCommand(Command onChangeCommand) { this.onChangeCommand = onChangeCommand; } @Inject  ConditionParamPresenter(final View view, final ClientTranslationService translationService); @PostConstruct void init(); View getView(); String getName(); void setName(String name); void setHelp(String help); String getValue(); void setValue(String value); void clear(); void clearError(); void setError(String error); void setReadonly(boolean readonly); void setOnChangeCommand(Command onChangeCommand); boolean validateParam(String expectedType);  }