Class DomAsserts


  • public class DomAsserts
    extends Object
    • Constructor Detail

      • DomAsserts

        public DomAsserts()
    • Method Detail

      • assertElementQName

        public static void assertElementQName​(Element element,
                                              QName expectedQName)
      • assertEquals

        public static void assertEquals​(String message,
                                        Object expected,
                                        Object actual)
      • assertSubElements

        public static void assertSubElements​(Element element,
                                             int expectedNumberOfSubelements)
      • assertSubElement

        public static void assertSubElement​(Element element,
                                            QName expectedSubElementName)
      • assertTextContent

        public static void assertTextContent​(Element element,
                                             String expected)