@Test public void testShowMultipleValues() { presenter.setValues(Arrays.asList("val1", "val2", "val3")); verify(view).setValue("val1 | val2 | val3"); }
public void setValues(List input) { values = input; view.setValue(format(input)); }
MultipleTextParameterEditor implements FunctionParameterEditor { public void setValues(List input) { values = input; view.setValue(format(input)); } }
MultipleTextParameterEditor implements FunctionParameterEditor { public void setValues(List input) { values = input; view.setValue(format(input)); } @Inject  MultipleTextParameterEditor(View view); }
MultipleTextParameterEditor implements FunctionParameterEditor { public void setValues(List input) { values = input; view.setValue(format(input)); } @Inject  MultipleTextParameterEditor(View view); @Override Widget asWidget(); void setOnChangeCommand(Command onChangeCommand); List getValues(); void setValues(List input); @Override void setFocus(boolean focus); List parse(String s); String format(List l); }
MultipleTextParameterEditor implements FunctionParameterEditor { public void setValues(List input) { values = input; view.setValue(format(input)); } @Inject  MultipleTextParameterEditor(View view); @Override Widget asWidget(); void setOnChangeCommand(Command onChangeCommand); List getValues(); void setValues(List input); @Override void setFocus(boolean focus); List parse(String s); String format(List l);  }