Class ShouldHaveXPath

java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.xmlunit.assertj3.error.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(String nodeName, String xPath)
     
  • 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
  • Constructor Details

    • ShouldHaveXPath

      private ShouldHaveXPath(String nodeName, String xPath)
  • 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