Class ShouldHaveXPath

java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.xmlunit.assertj.error.ShouldHaveXPath
All Implemented Interfaces:
org.assertj.core.error.ErrorMessageFactory

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

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

    arguments, format
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.assertj.core.error.ErrorMessageFactory
    shouldHaveXPath(String nodeName, 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
  • Method Details

    • shouldHaveXPath

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