public void ContentHandlerPropertiesOfTest() { var h = new ContentHandler(); var baseObj = h.ObjectFrom("<a><b>test</b><c/></a>"); var props = ContentHandler.PropertiesOf("/a/*", baseObj).ToArray(); Assert.AreEqual(props[0], "/a[1]/b[1]"); Assert.AreEqual(props[1], "/a[1]/c[1]"); }