@Test public void testSectionWithoutAnnotation_usesDefaultValues() { BaseSection section = createContext(new SectionWithoutAnnotation()).createSection(); assertThat(section, is(instanceOf(FormSection.class))); assertThat(section.getId(), is(SectionWithoutAnnotation.class.getSimpleName())); assertThat(section.getCaption(), is(nullValue())); assertThat(((FormSection)section).getNumberOfColumns(), is(1)); }
@Deprecated public BaseSection createSection() { return (BaseSection)sectionBuilder.createSection(); }
SectionCreationContext { @Deprecated public BaseSection createSection() { return (BaseSection)sectionBuilder.createSection(); } }
SectionCreationContext { @Deprecated public BaseSection createSection() { return (BaseSection)sectionBuilder.createSection(); } @Deprecated  SectionCreationContext(Object pmo, BindingContext bindingContext); }
SectionCreationContext { @Deprecated public BaseSection createSection() { return (BaseSection)sectionBuilder.createSection(); } @Deprecated  SectionCreationContext(Object pmo, BindingContext bindingContext); @Deprecated BaseSection createSection(); }
SectionCreationContext { @Deprecated public BaseSection createSection() { return (BaseSection)sectionBuilder.createSection(); } @Deprecated  SectionCreationContext(Object pmo, BindingContext bindingContext); @Deprecated BaseSection createSection();  }