XmlSnippetTests ToAndFromXmlSnippetLeavesTextUnchanged Method Delta Engine Documentation

Namespace: DeltaEngine.Content.Xml.Tests
Assembly: DeltaEngine.Content.Xml.Tests (in DeltaEngine.Content.Xml.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void ToAndFromXmlSnippetLeavesTextUnchanged()
Examples

[Test]
public void ToAndFromXmlSnippetLeavesTextUnchanged()
{
    var snippet = CreateTestXmlData().ToString();
    var xmlSnippet = new XmlSnippet(snippet);
    Assert.AreEqual(snippet, xmlSnippet.Root.ToString());
}
See Also