### Question:
SubFormWidget extends Composite implements TakesValue<Object>,
                                                        IsNestedModel,
                                                        NeedsFlush { @Override public void setValue(Object value) { formRenderer.bind(value); }  void render(FormRenderingContext renderingContext); @Override Object getValue(); @Override void setValue(Object value); @Override void clear(); @Override void flush(); @Override void addFieldChangeHandler(FieldChangeHandler handler); void setReadOnly(boolean readOnly); boolean isValid();  }### Answer:
@Test public void testSetValue() { final Object value = new Object(); subFormWidget.setValue(value); verify(formRenderer).bind(same(value)); }