TextParameterEditor implements FunctionParameterEditor { public void setValue(String input) { value = input; view.setValue(input); } @Inject  TextParameterEditor(View view); @Override Widget asWidget(); void setOnChangeCommand(Command onChangeCommand); String getValue(); void setValue(String input); @Override void setFocus(boolean focus);  }
@Test public void testShowValue() { presenter.setValue("val"); verify(view).setValue("val"); }