Package org.xmlunit.assertj3.error
Class ElementsShouldSatisfy
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.xmlunit.assertj3.error.ElementsShouldSatisfy
- All Implemented Interfaces:
org.assertj.core.error.ErrorMessageFactory
public class ElementsShouldSatisfy
extends org.assertj.core.error.BasicErrorMessageFactory
Copied subset of
ElementsShouldSatisfy
as AssertJ has moved the nested
UnsatisfiedRequirement class to a top level class, breaking backwards compatibility.- Since:
- XMLUnit 2.8.3
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Holds the element not satisfing a requirement and the error message. -
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.assertj.core.error.ErrorMessageFactory
elementsShouldSatisfy
(Object actual, List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRestrictions, org.assertj.core.api.AssertionInfo info) Creates ErrorMessageFactory.Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
elementsShouldSatisfy
public static org.assertj.core.error.ErrorMessageFactory elementsShouldSatisfy(Object actual, List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRestrictions, org.assertj.core.api.AssertionInfo info) Creates ErrorMessageFactory.- Parameters:
actual
- the actual valueelementsNotSatisfyingRestrictions
- elements that don't satisfy assertioninfo
- assertion information- Returns:
- ErrorMessageFactory
-