" <cpu id='1' idle='44'/>\n" +
" <ram free='12000'/>\n" +
" </state>\n" +
"</clusternode>\n";
NodeParser nodeParser = new NodeParser(serverScope, new ClusterNode(
serverScope, new NodeId("avalon"), null), xml);
ClusterNode clusterNode = nodeParser.getClusterNode();
log.info(clusterNode.toXml());
Address address = clusterNode.getNodeInfo()
.getConnectQosData().getAddress();
assertEquals("IOR:09456087000", address.getRawAddress().trim());
assertEquals(false, address.getEnv("useRemoteLoginAsTunnel", false)
.getValue());
NodeMasterInfo[] masters = clusterNode.getNodeMasterInfos();
assertEquals(2, masters.length);
assertEquals("DomainToMaster", masters[0].getType());
assertEquals("1.0", masters[0].getVersion());
assertEquals(0, masters[0].getStratum());