@Test public void testSetText() { StringSelectorOption opt = new StringSelectorOption(); opt.setText(LABEL_B); assertSame(LABEL_B, opt.getText()); }
public void setText(String text) { this.text = text; }
StringSelectorOption implements SelectorOption<String> { public void setText(String text) { this.text = text; } }
StringSelectorOption implements SelectorOption<String> { public void setText(String text) { this.text = text; } StringSelectorOption();  StringSelectorOption(@MapsTo("value") String value,
                                @MapsTo("text") String text); }
StringSelectorOption implements SelectorOption<String> { public void setText(String text) { this.text = text; } StringSelectorOption();  StringSelectorOption(@MapsTo("value") String value,
                                @MapsTo("text") String text); @Override String getValue(); void setValue(String value); @Override String getText(); void setText(String text); @Override boolean equals(Object o); @Override int hashCode(); }
StringSelectorOption implements SelectorOption<String> { public void setText(String text) { this.text = text; } StringSelectorOption();  StringSelectorOption(@MapsTo("value") String value,
                                @MapsTo("text") String text); @Override String getValue(); void setValue(String value); @Override String getText(); void setText(String text); @Override boolean equals(Object o); @Override int hashCode();  }