public void ProxyXPathNavigatorData() { XPathNavigator navigator = new XPathDocument(new StringReader(CommonUtil.Xml)).CreateNavigator(); proxy.TraceData(new TraceEventCache(), CommonUtil.ServiceModelCategory, TraceEventType.Error, 1, navigator); Assert.IsTrue(MockTraceListener.LastEntry is XmlLogEntry); XmlLogEntry lastEntry = MockTraceListener.LastEntry as XmlLogEntry; Assert.AreEqual(lastEntry.Xml, navigator); }