"public class Test extends TreePanel {",
" public Test() {",
" setRootNode(new TreeNode('(root)'));",
" }",
"}");
treePanel.refresh();
assertNoErrors(treePanel);
//
assertHierarchy(
"{this: com.gwtext.client.widgets.tree.TreePanel} {this} {/setRootNode(new TreeNode('(root)'))/}",
" {new: com.gwtext.client.widgets.tree.TreeNode} {empty} {/setRootNode(new TreeNode('(root)'))/}");