@After
 public void tearDown() throws Exception {
   NodeReference getNdRef = grfToTest.getGraphRootNodeRef();
   Connection extConn = grfToTest.getGlobalsConnection();
   grfToTest = null;
   getNdRef.setSubscriptCount(0);
   getNdRef.kill();
   getNdRef = null;
   extConn.close();
 }
 @Test
 public void NodeRemoveTest() {
   GraphNode anode = grfToTest.newGraphNode("aaa");
   GraphNode bnode = grfToTest.newGraphNode("bbbb");
   GraphNode cnode = grfToTest.newGraphNode("cc");
   bnode.Connect(bnode);
   bnode.Connect(anode);
   cnode.Connect(anode);
   Collection<GraphEdge> edGes = grfToTest.getEdges();
   Iterator<GraphEdge> egIt = edGes.iterator();
   if (egIt.hasNext()) {
     ((com.intersys.globals.graphapi.Graph) grfToTest).removeEdge(egIt.next());
   }
 }