// ==================================================================
// Do the test.
// ==================================================================
DefaultGraph graph = new DefaultGraph(mockTarget);
graph.addStep(mockOld2Target);
graph.addStep(mockReallyOld2Old);
Iterator oldSequence = graph.getSequence(mockOld);
assertNotNull("Sequence must be non null", oldSequence);
assertEquals("", mockOld2Target, oldSequence.next());
assertEquals("", oldSequence.hasNext(), false);
Iterator reallyOldSequence = graph.getSequence(mockReallyOld);
assertNotNull("Sequence must be non null", reallyOldSequence);
assertEquals("", mockReallyOld2Old, reallyOldSequence.next());
assertEquals("", mockOld2Target, reallyOldSequence.next());
assertEquals("", reallyOldSequence.hasNext(), false);