public void ResxDocumentToXmlWithChanges() { var test1 = new ResxDocument(TestUtils.LoadTest1()); test1.Data.Add(new ResxData { Name = "Test_key_4", Value = "Test value 4", Space = "preserve" }); Assert.AreEqual(TestUtils.LoadTest2().ToString(), test1.ToXml().ToString()); }
public void ResxDocumentToXml() { var test1 = new ResxDocument(TestUtils.LoadTest1()); Assert.AreEqual(TestUtils.LoadTest1().ToString(), test1.ToXml().ToString()); }