public static void Save(this ModelDescriptor model, string path) { XmlWriterUtils.ToXmlFile(path, writer => model.ToXml(writer), true); }
public static void AssertContent(this TestCase testCase, XmlDocument actual, string resultName, bool rebaseline) { var actualContent = XmlWriterUtils.ToXmlString(writer => actual.WriteTo(writer)); testCase.AssertContent(actualContent, resultName, rebaseline); }