" public Test() {",
" }",
"}");
layout.refresh();
// prepare FlowContainer
FlowContainer flowContainer;
{
List<FlowContainer> flowContainers = new FlowContainerFactory(layout, true).get();
assertThat(flowContainers).hasSize(1);
flowContainer = flowContainers.get(0);
assertFalse(flowContainer.isHorizontal());
}
// do create
WidgetInfo newButton = createButton();
assertTrue(flowContainer.validateComponent(newButton));
flowContainer.command_CREATE(newButton, null);
assertEditor(
"// filler filler filler",
"public class Test extends VLayout {",
" public Test() {",
" {",