### Question:
ReassignmentsEditorWidget extends Composite implements HasValue<ReassignmentTypeListValue> { void showReassignmentsDialog() { reassignmentWidget.setValue(reassignmentTypeListValue.getValues() .stream( ).map(r -> new ReassignmentRow(r)) .collect(Collectors.toList()), true); reassignmentWidget.setCallback(data -> setValue(data, true)); reassignmentWidget.show(); } ReassignmentsEditorWidget(); @PostConstruct void init(); @Override void setValue(ReassignmentTypeListValue value, boolean fireEvents); @Override ReassignmentTypeListValue getValue(); @Override void setValue(ReassignmentTypeListValue value); @Override HandlerRegistration addValueChangeHandler(ValueChangeHandler<ReassignmentTypeListValue> handler); void setReadOnly(final boolean readOnly);  }### Answer:
@Test public void testShowReassignmentsDialog() { values.setValues(new ArrayList<>()); reassignmentsEditorWidget.setValue(values); setFieldValue(reassignmentWidget, "view", reassignmentWidgetViewImpl); setFieldValue(reassignmentsEditorWidget, "reassignmentWidget", reassignmentWidget); reassignmentsEditorWidget.showReassignmentsDialog(); verify(reassignmentWidget, times(1)).show(); }