public void Writes_Supplier_OTA_Standard_Request() { var sb = new StringBuilder(); using (var subject = new LightXmlWriter(new StringWriter(sb))) { OTA_Standard_XML_Writer_LightXmlWriter.Write(subject); } var actual = sb.ToString(); var expected = File.ReadAllText(Path.Combine("..", "..", "..", "Examples", "OTA_Standard_XML_Writer.xml")); Assert.Equal(XDocument.Parse(expected).ToString(), XDocument.Parse(actual).ToString()); }
public void LightXmlWriter_Write_Xml() { OTA_Standard_XML_Writer_LightXmlWriter.Write(this.writer); }