### Question:
ImportsFieldEditorWidget extends Composite implements HasValue<ImportsValue> { protected void showImportsEditor() { importsEditor.setImportsValue(copyImportsValue(importsValue)); ImportsEditor.GetDataCallback callback = value -> { setValue(value, true); }; importsEditor.setCallback(callback); importsEditor.show(); } ImportsFieldEditorWidget();  ImportsFieldEditorWidget(final ImportsValue importsValue); @Override ImportsValue getValue(); @Override void setValue(final ImportsValue value); @Override void setValue(final ImportsValue value, final boolean fireEvents); @Override HandlerRegistration addValueChangeHandler(final ValueChangeHandler<ImportsValue> handler); @EventHandler("importsButton") void onClickImportsButton(final ClickEvent clickEvent); @EventHandler("importsTextBox") void onClickImportsTextBox(final ClickEvent clickEvent);  }### Answer:
@Test public void showImportsEditor() { tested.showImportsEditor(); verify(tested.importsEditor, times(1)).setImportsValue(any(ImportsValue.class)); }