@Test public void testCreateSectionHeader() { SCCPmoWithID containerPmo = new SCCPmoWithID(); PmoBasedSectionFactory factory = new PmoBasedSectionFactory(); AbstractSection tableSection = factory.createSection(containerPmo, bindingContext); HorizontalLayout header = (HorizontalLayout)tableSection.getComponent(0); assertThat(header.getComponent(2), instanceOf(Button.class)); assertThat(header.getComponent(2).getCaption(), is("header button")); }
public AbstractSection createSection(Object pmo, BindingContext bindingContext) { return createAndBindSection(pmo, bindingContext); }
PmoBasedSectionFactory { public AbstractSection createSection(Object pmo, BindingContext bindingContext) { return createAndBindSection(pmo, bindingContext); } }
PmoBasedSectionFactory { public AbstractSection createSection(Object pmo, BindingContext bindingContext) { return createAndBindSection(pmo, bindingContext); }  }
PmoBasedSectionFactory { public AbstractSection createSection(Object pmo, BindingContext bindingContext) { return createAndBindSection(pmo, bindingContext); }  AbstractSection createSection(Object pmo, BindingContext bindingContext); BaseSection createBaseSection(Object pmo, BindingContext bindingContext); TableSection createTableSection(ContainerPmo<T> pmo, BindingContext bindingContext); static AbstractSection createAndBindSection(Object pmo, BindingContext bindingContext); }
PmoBasedSectionFactory { public AbstractSection createSection(Object pmo, BindingContext bindingContext) { return createAndBindSection(pmo, bindingContext); }  AbstractSection createSection(Object pmo, BindingContext bindingContext); BaseSection createBaseSection(Object pmo, BindingContext bindingContext); TableSection createTableSection(ContainerPmo<T> pmo, BindingContext bindingContext); static AbstractSection createAndBindSection(Object pmo, BindingContext bindingContext);  }