return propertyTree;
}
private TreeNode<QueryInfo> createPropertyTreeWithSubProps() {
TreeNode<QueryInfo> propertyTree = new TreeNodeImpl<QueryInfo>(null, new QueryInfo(
new ClusterResourceDefinition(), new HashSet<String>()), "Cluster");
Set<String> clusterProperties = propertyTree.getObject().getProperties();
clusterProperties.add("Clusters/cluster_name");
clusterProperties.add("Clusters/version");
clusterProperties.add("Clusters/prop1");
clusterProperties.add("foo");
propertyTree.addChild(new QueryInfo(new HostResourceDefinition(), new HashSet<String>()), "Host");
propertyTree.getChild("Host").getObject().getProperties().add("foo");
return propertyTree;
}