outStream = new FileOutputStream(out);
testGraph.printGraph(outStream);
original = new File(projectRoot, "test/" + testName);
if (original.exists()) {
Parser graphParser = new Parser(new FileInputStream(original));
Graph realGraph;
graphParser.parse();
realGraph = graphParser.getGraph();
if (!CFGTestUtils.areGraphsEqual(testGraph, realGraph))
System.err.println("Failed test: " + testName);
else
System.out.println("Passed test: " + testName);
} else {