LikeToFunctionEditor implements FunctionParameterEditor { public void setPattern(String pattern) { this.pattern = pattern; view.setPattern(pattern); } @Inject  LikeToFunctionEditor(View view); @Override Widget asWidget(); void setOnChangeCommand(Command onChangeCommand); void setPattern(String pattern); void setCaseSensitive(boolean caseSensitive); String getPattern(); boolean isCaseSensitive(); @Override void setFocus(boolean focus);  }
@Test public void testShowValue() { presenter.setPattern("%val%"); verify(view).setPattern("%val%"); }