Assert.assertEquals(origID,result.findVertex("B").getOrigState());
Assert.assertNull(result.findVertex(testA));
Assert.assertNull(result.findVertex(testB));
Assert.assertNotNull(result.findVertex(nameC));
Assert.assertNotNull(result.findVertex(nameD));
Assert.assertTrue(DeterministicDirectedSparseGraph.deepEquals(newStateC,result.findVertex(nameC)));
Assert.assertTrue(DeterministicDirectedSparseGraph.deepEquals(newStateD,result.findVertex(nameD)));
// The last check: ensure that disconnected states are or are not key pairs.
// This chunk of code simply returns GD, the checking is performed by the caller of this method.
GD<List<CmpVertex>,List<CmpVertex>,LearnerGraphNDCachedData,LearnerGraphNDCachedData> gd = new GD<List<CmpVertex>,List<CmpVertex>,LearnerGraphNDCachedData,LearnerGraphNDCachedData>();