assertTrue(c.getNodes().contains(b));
}
@Test
public void testTree(){
IClusterLevel leaf1 = new ClusterLeaf();
leaf1.addNode(b);
ClusterLeaf leaf2 = new ClusterLeaf();
leaf2.addNode(a);
ClusterNode head = new ClusterNode();
ClusterNode body = new ClusterNode();
head.addChild(body);
head.addChild(leaf1);
body.addChild(leaf2);
IClusterLevel leaf3 = new ClusterLeaf();
leaf3.addNode(outsideIn);
body.addChild(leaf3);
assertTrue(head.contains(a));
assertTrue(head.contains(b));
assertTrue(head.contains(outsideIn));
head.addNode(outsideOut);