Class XMLContentAssert


  • public class XMLContentAssert
    extends org.fest.assertions.GenericAssert<XMLContentAssert,​java.lang.String>
    • Field Summary

      • Fields inherited from class org.fest.assertions.GenericAssert

        actual, myself
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static XMLContentAssert assertThat​(java.lang.String actual)  
      XMLContentAssert hasTheSameContentAs​(java.lang.String expectedXml)  
      • Methods inherited from class org.fest.assertions.GenericAssert

        as, as, describedAs, describedAs, doesNotSatisfy, is, isEqualTo, isIn, isIn, isNot, isNotEqualTo, isNotIn, isNotIn, isNotNull, isNotSameAs, isNull, isSameAs, overridingErrorMessage, satisfies
      • Methods inherited from class org.fest.assertions.Assert

        customErrorMessage, description, description, description, equals, fail, fail, failIfCustomMessageIsSet, failIfCustomMessageIsSet, failure, formattedErrorMessage, hashCode, rawDescription, replaceDefaultErrorMessagesWith
      • Methods inherited from class java.lang.Object

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

      • assertThat

        public static XMLContentAssert assertThat​(java.lang.String actual)
                                           throws java.io.IOException,
                                                  org.xml.sax.SAXException,
                                                  javax.xml.parsers.ParserConfigurationException
        Throws:
        java.io.IOException
        org.xml.sax.SAXException
        javax.xml.parsers.ParserConfigurationException
      • hasTheSameContentAs

        public XMLContentAssert hasTheSameContentAs​(java.lang.String expectedXml)
                                             throws org.xml.sax.SAXException,
                                                    java.io.IOException,
                                                    org.custommonkey.xmlunit.exceptions.XpathException
        Throws:
        org.xml.sax.SAXException
        java.io.IOException
        org.custommonkey.xmlunit.exceptions.XpathException