### Question:
GenericServiceTaskEditorWidget extends Composite implements HasValue<GenericServiceTaskValue> { @PostConstruct public void init() { setServiceImplementationOptions(getImplementationOptions()); implementation.setValue(JAVA); }  @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);  }### Answer:
@Test public void init() { widget.init(); verify(widget, times(1)).setServiceImplementationOptions(any()); verify(implementation, times(1)).setValue(any()); }