assertHierarchy(
"{this: com.gwtext.client.widgets.Panel} {this} {/setLayout(new RowLayout())/ /add(htmlPanel)/}",
" {new: com.gwtext.client.widgets.layout.RowLayout} {empty} {/setLayout(new RowLayout())/}",
" {new: com.gwtext.client.widgets.HTMLPanel} {local-unique: htmlPanel} {/new HTMLPanel('my HTML', 10)/ /add(htmlPanel)/}",
" {virtual-layout_data: com.gwtext.client.widgets.layout.RowLayoutData} {virtual-layout-data} {}");
HTMLPanelInfo htmlPanel = (HTMLPanelInfo) panel.getChildrenWidgets().get(0);
// check properties
assertEquals("my HTML", htmlPanel.getPropertyByTitle("html").getValue());
assertEquals(10, htmlPanel.getPropertyByTitle("paddings").getValue());
}