public void DependencyGraphGenerator_BuildGraph_WhenGraphDataValid_ExpectValidGraph()
{
//------------Setup for test--------------------------
const string graphData = @"<graph title=""Local Dependants Graph: MyLocalWF"">
<node id=""9139Local"" x="""" y="""" broken=""false"">
<dependency id=""MyLocalWF"" />
</node>
<node id=""MyLocalWF"" x="""" y="""" broken=""false""></node>
</graph>";
var data = new StringBuilder(graphData);
var dependencyGraphGenerator = new DependencyGraphGenerator();
const string expected = @"<graph title=""Local Dependants Graph: MyLocalWF""><node id=""9139Local"" x=""-100"" y=""-400"" broken=""False""><dependency id=""MyLocalWF"" /></node><node id=""MyLocalWF"" x=""-352"" y=""-262"" broken=""False""></node></graph>";
//------------Execute Test---------------------------
// for some silly reason this is what comes through when you debug?
var result = dependencyGraphGenerator.BuildGraph(data, "Test Model", 0, 0);
//------------Assert Results-------------------------
Assert.AreEqual(expected, result.ToString());
}