@Test public void testGetFormGroup() { renderer.getFormGroup(RenderMode.EDIT_MODE); verify(formGroupsInstance).get(); multipleSubFormWidget.config(any(), any()); verify(formGroup).render(any(), any()); }
@Override protected FormGroup getFormGroup(RenderMode renderMode) { FieldSetFormGroup formGroup = formGroupsInstance.get(); multipleSubFormWidget.config(field, renderingContext); formGroup.render(multipleSubFormWidget, field); return formGroup; }
MultipleSubFormFieldRenderer extends FieldRenderer<MultipleSubFormFieldDefinition, FieldSetFormGroup> { @Override protected FormGroup getFormGroup(RenderMode renderMode) { FieldSetFormGroup formGroup = formGroupsInstance.get(); multipleSubFormWidget.config(field, renderingContext); formGroup.render(multipleSubFormWidget, field); return formGroup; } }
MultipleSubFormFieldRenderer extends FieldRenderer<MultipleSubFormFieldDefinition, FieldSetFormGroup> { @Override protected FormGroup getFormGroup(RenderMode renderMode) { FieldSetFormGroup formGroup = formGroupsInstance.get(); multipleSubFormWidget.config(field, renderingContext); formGroup.render(multipleSubFormWidget, field); return formGroup; }  }
MultipleSubFormFieldRenderer extends FieldRenderer<MultipleSubFormFieldDefinition, FieldSetFormGroup> { @Override protected FormGroup getFormGroup(RenderMode renderMode) { FieldSetFormGroup formGroup = formGroupsInstance.get(); multipleSubFormWidget.config(field, renderingContext); formGroup.render(multipleSubFormWidget, field); return formGroup; }  @Override String getName(); }
MultipleSubFormFieldRenderer extends FieldRenderer<MultipleSubFormFieldDefinition, FieldSetFormGroup> { @Override protected FormGroup getFormGroup(RenderMode renderMode) { FieldSetFormGroup formGroup = formGroupsInstance.get(); multipleSubFormWidget.config(field, renderingContext); formGroup.render(multipleSubFormWidget, field); return formGroup; }  @Override String getName();  }