@Test public void clearSelect() { widget.clearSelect(select); verify(select, times(1)).getOptions(); }
void clearSelect(Select select) { int options = select.getOptions().getLength(); for (int i = 0; i < options; i++) { select.remove(0); } }
GenericServiceTaskEditorWidget extends Composite implements HasValue<GenericServiceTaskValue> { void clearSelect(Select select) { int options = select.getOptions().getLength(); for (int i = 0; i < options; i++) { select.remove(0); } } }
GenericServiceTaskEditorWidget extends Composite implements HasValue<GenericServiceTaskValue> { void clearSelect(Select select) { int options = select.getOptions().getLength(); for (int i = 0; i < options; i++) { select.remove(0); } }  }
GenericServiceTaskEditorWidget extends Composite implements HasValue<GenericServiceTaskValue> { void clearSelect(Select select) { int options = select.getOptions().getLength(); for (int i = 0; i < options; i++) { select.remove(0); } }  @PostConstruct void init(); void setServiceImplementationOptions(List<String> options); void setReadOnly(boolean readOnly); @Override GenericServiceTaskValue getValue(); @Override void setValue(GenericServiceTaskValue value); @Override void setValue(GenericServiceTaskValue newValue, boolean fireEvents); @Override HandlerRegistration addValueChangeHandler(ValueChangeHandler<GenericServiceTaskValue> handler); }
GenericServiceTaskEditorWidget extends Composite implements HasValue<GenericServiceTaskValue> { void clearSelect(Select select) { int options = select.getOptions().getLength(); for (int i = 0; i < options; i++) { select.remove(0); } }  @PostConstruct void init(); void setServiceImplementationOptions(List<String> options); void setReadOnly(boolean readOnly); @Override GenericServiceTaskValue getValue(); @Override void setValue(GenericServiceTaskValue value); @Override void setValue(GenericServiceTaskValue newValue, boolean fireEvents); @Override HandlerRegistration addValueChangeHandler(ValueChangeHandler<GenericServiceTaskValue> handler);  }