"}");
rootPanel.refresh();
SectionStackInfo stack = (SectionStackInfo) rootPanel.getChildrenWidgets().get(0);
assertThat(stack.getChildrenJava()).isEmpty();
// create new Section
FlowContainer flowContainer = new FlowContainerFactory(stack, true).get().get(0);
{
assertFalse(flowContainer.isHorizontal());
}
JavaInfo newSection = createJavaInfo("com.smartgwt.client.widgets.layout.SectionStackSection");
assertTrue(flowContainer.validateComponent(newSection));
flowContainer.command_CREATE(newSection, null);
assertEditor(
"public class Test implements EntryPoint {",
" public void onModuleLoad() {",
" RootPanel rootPanel = RootPanel.get();",
" SectionStack stack = new SectionStack();",