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