Class XmlAsserts


  • public class XmlAsserts
    extends java.lang.Object
    Helper methods for asserts in Xml documents.
    • Constructor Summary

      Constructors 
      Constructor Description
      XmlAsserts()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void assertNodeTextInXpath​(java.lang.String message, org.dom4j.Document doc, java.lang.String xpath, java.lang.String expected)  
      static void assertNodeWithXpath​(org.dom4j.Document doc, java.lang.String xpath)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • assertNodeWithXpath

        public static void assertNodeWithXpath​(org.dom4j.Document doc,
                                               java.lang.String xpath)
      • assertNodeTextInXpath

        public static void assertNodeTextInXpath​(java.lang.String message,
                                                 org.dom4j.Document doc,
                                                 java.lang.String xpath,
                                                 java.lang.String expected)