Package org.assertj.core.error
Class ElementsShouldSatisfy
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ElementsShouldSatisfy
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ElementsShouldSatisfy extends BasicErrorMessageFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ElementsShouldSatisfy.UnsatisfiedRequirement
-
Field Summary
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ElementsShouldSatisfy(String message, Object actual, List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRequirements, AssertionInfo info)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static String
describeErrors(List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRequirements, AssertionInfo info)
static ErrorMessageFactory
elementsShouldSatisfy(Object actual, List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRestrictions, AssertionInfo info)
static ErrorMessageFactory
elementsShouldSatisfyAny(Object actual, List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRequirements, AssertionInfo info)
static ElementsShouldSatisfy.UnsatisfiedRequirement
unsatisfiedRequirement(Object elementNotSatisfyingRequirements, String errorMessage)
-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Constructor Detail
-
ElementsShouldSatisfy
private ElementsShouldSatisfy(String message, Object actual, List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRequirements, AssertionInfo info)
-
-
Method Detail
-
elementsShouldSatisfyAny
public static ErrorMessageFactory elementsShouldSatisfyAny(Object actual, List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRequirements, AssertionInfo info)
-
elementsShouldSatisfy
public static ErrorMessageFactory elementsShouldSatisfy(Object actual, List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRestrictions, AssertionInfo info)
-
describeErrors
private static String describeErrors(List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRequirements, AssertionInfo info)
-
unsatisfiedRequirement
public static ElementsShouldSatisfy.UnsatisfiedRequirement unsatisfiedRequirement(Object elementNotSatisfyingRequirements, String errorMessage)
-
-