### Question:
FieldPropertiesRenderer implements IsWidget { public void render(final FieldPropertiesRendererHelper helper) { this.helper = helper; this.originalField = helper.getCurrentField(); this.fieldCopy = doCopy(originalField); this.acceptChanges = false; render(); } @Inject  FieldPropertiesRenderer(FieldPropertiesRendererView view,
                                   DynamicFormModelGenerator dynamicFormModelGenerator,
                                   @StaticFormModel DataBindingEditor staticDataBindingEditor,
                                   @DynamicFormModel DataBindingEditor dynamicDataBindingEditor); void render(final FieldPropertiesRendererHelper helper); @SuppressWarnings("unchecked") FieldDefinition doCopy(final FieldDefinition originalField); void onPressOk(); void onClose(); void onFieldTypeChange(final String typeCode); void onFieldBindingChange(final String bindingExpression); FieldPropertiesRendererView getView(); FieldDefinition getCurrentField(); List<String> getCompatibleFieldTypes(); @Override Widget asWidget();  }### Answer:
@Test public void testRender() { loadContent(); renderer.render(helper); assertSame(helper, renderer.helper); assertNotNull(renderer.fieldCopy); verify(renderer, times(1)).doCopy(any()); verify(fieldManager).getFieldFromProvider(any(), any()); }