@Test public void setCustomElements() { FormGroup customElementFormGroup = mock(FormGroup.class); this.testFormSection.setCustomElements(customElementFormGroup); Assert.assertEquals(customElementFormGroup, this.testFormSection.getCustomElements()); }
public void setCustomElements(FormGroup customElements) { this.customElements = customElements; }
FormSection extends FormGroup { public void setCustomElements(FormGroup customElements) { this.customElements = customElements; } }
FormSection extends FormGroup { public void setCustomElements(FormGroup customElements) { this.customElements = customElements; } FormSection(String title, String propertyName, Collection<String> categories); }
FormSection extends FormGroup { public void setCustomElements(FormGroup customElements) { this.customElements = customElements; } FormSection(String title, String propertyName, Collection<String> categories); String getPropertyName(); @Override String getTitle(); @Override String display(DisplayMode mode, String[] fieldNames); FormGroup getCustomElements(); void setCustomElements(FormGroup customElements); List<String> getCategories(); }
FormSection extends FormGroup { public void setCustomElements(FormGroup customElements) { this.customElements = customElements; } FormSection(String title, String propertyName, Collection<String> categories); String getPropertyName(); @Override String getTitle(); @Override String display(DisplayMode mode, String[] fieldNames); FormGroup getCustomElements(); void setCustomElements(FormGroup customElements); List<String> getCategories();  }