for ( int i=0; iter.hasNext(); ++i ) {
nodes[i] = (Node)iter.next();
edges[i] = (Edge)nodes[i].getParentEdge();
}
assertEquals(true, tree.removeChild(c));
assertEquals(tree.getNodeCount(), size-13);
assertEquals(true, r.getFirstChild() != c);
for ( int i=0; i<nodes.length; ++i ) {
assertEquals(false, nodes[i].isValid());
assertEquals(false, edges[i].isValid());