### Question:
TemplateParamsTablePresenter { protected void onParamChange(final String paramName, final String newValue, final String oldValue) { if (paramChangeHandler != null) { paramChangeHandler.onParamChange(paramName, newValue, oldValue); } } @Inject  TemplateParamsTablePresenter(final View view); @PostConstruct void init(); void setItems(final List<TemplateParam> items); void clear(); View getView(); void setParamChangeHandler(final ParamChangeHandler paramChangeHandler);  }### Answer:
@Test public void testOnParamChange() { presenter.setParamChangeHandler(changeHandler); presenter.onParamChange(PARAM_NAME, NEW_VALUE, OLD_VALUE); verify(changeHandler, times(1)).onParamChange(PARAM_NAME, NEW_VALUE, OLD_VALUE); }