public void TestAsString() { INode[] nodes = EntityFactory.CreateDummyNodes(7); IDirectedGraph <INode> directedGraph = CreateBinaryDirectedGraph(nodes); Assert.True(directedGraph.ToString() != null, "AsString() must work in unit tests without a database."); }