Class ElementsShouldSatisfy.UnsatisfiedRequirement

java.lang.Object
org.xmlunit.assertj.error.ElementsShouldSatisfy.UnsatisfiedRequirement
Enclosing class:
ElementsShouldSatisfy

public static class ElementsShouldSatisfy.UnsatisfiedRequirement extends Object
Holds the element not satisfing a requirement and the error message.
  • Constructor Details

    • UnsatisfiedRequirement

      public UnsatisfiedRequirement(Object elementNotSatisfyingRequirements, String errorMessage)
      Parameters:
      elementNotSatisfyingRequirements - the element not satsfying the requirement
      errorMessage - the error message
  • Method Details

    • describe

      public String describe(org.assertj.core.api.AssertionInfo info)
      Parameters:
      info - assertion info
      Returns:
      the formatted description
    • toString

      public String toString()
      Overrides:
      toString in class Object