title: Unit testing XML Generation
body: <p>What unit testing strategies do people recommend for testing xml is being generated correctly.</p>
  
  <p>The my current tests seem abit primitive, something along the lines of:</p>
  
  <pre><code>[Test]
  public void pseudo_test()
  {
     XmlDocument myDOC = new XmlDocument();
     mydoc = _task.MyMethodToMakeXMLDoc();
  
     Assert.AreEqual(myDoc.OuterXML(),"big string of XML")
  }
  </code></pre>