Class ShouldHaveXPath

  • All Implemented Interfaces:
    org.assertj.core.error.ErrorMessageFactory

    public class ShouldHaveXPath
    extends org.assertj.core.error.BasicErrorMessageFactory
    Since:
    XMLUnit 2.8.1
    • Field Summary

      • Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory

        arguments, format
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ShouldHaveXPath​(java.lang.String nodeName, java.lang.String xPath)  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.assertj.core.error.ErrorMessageFactory shouldHaveXPath​(java.lang.String nodeName, java.lang.String xPath)  
      • Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory

        create, create, create, equals, hashCode, toString, unquotedString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ShouldHaveXPath

        private ShouldHaveXPath​(java.lang.String nodeName,
                                java.lang.String xPath)
    • Method Detail

      • shouldHaveXPath

        public static org.assertj.core.error.ErrorMessageFactory shouldHaveXPath​(java.lang.String nodeName,
                                                                                 java.lang.String xPath)
        Parameters:
        nodeName - name of element
        xPath - XPath expression
        Returns:
        ErrorMessageFactory when element doesn't have XPath