public void XpathExistsTrueForXpathThatExists() { XPath xpath = new XPath(EXISTENT_XPATH); Assert.AreEqual(true, xpath.XPathExists(SIMPLE_XML)); }
public static void XPathExists(string anXPathExpression, XmlInput inXml) { XPath xpath = new XPath(anXPathExpression); Assert.AreEqual(true, xpath.XPathExists(inXml)); }
public void XpathExistsFalseForUnmatchedExpression() { XPath xpath = new XPath(NONEXISTENT_XPATH); Assert.AreEqual(false, xpath.XPathExists(SIMPLE_XML)); }