public void OuterXmlBasic() { const string xml = @"<root id=""-1"" />"; var doc = XmlHelper.CreateXPathDocument(xml); var nnav = doc.CreateNavigator(); Assert.AreEqual(xml, nnav.OuterXml); var source = new TestSource0(); var nav = new NavigableNavigator(source); Assert.AreEqual(xml, nav.OuterXml); }
public void OuterXmlBasic() { const string xml = @"<root id=""-1"" />"; var doc = XmlHelper.CreateXPathDocument(xml); var nnav = doc.CreateNavigator(); Assert.AreEqual(xml, nnav.OuterXml); var source = new TestSource0(); var nav = new NavigableNavigator(source); Assert.AreEqual(xml, nav.OuterXml); }