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
-
-
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<UnsatisfiedRequirement> elementsNotSatisfyingRequirements, AssertionInfo info)
private
ElementsShouldSatisfy(String message, Object actual, Map<Integer,UnsatisfiedRequirement> unsatisfiedRequirements, AssertionInfo info)
-
Method Summary
-
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<UnsatisfiedRequirement> elementsNotSatisfyingRequirements, AssertionInfo info)
-
ElementsShouldSatisfy
private ElementsShouldSatisfy(String message, Object actual, Map<Integer,UnsatisfiedRequirement> unsatisfiedRequirements, AssertionInfo info)
-
-
Method Detail
-
elementsShouldSatisfyAny
public static ErrorMessageFactory elementsShouldSatisfyAny(Object actual, List<UnsatisfiedRequirement> elementsNotSatisfyingRequirements, AssertionInfo info)
-
elementsShouldSatisfy
public static ErrorMessageFactory elementsShouldSatisfy(Object actual, List<UnsatisfiedRequirement> elementsNotSatisfyingRestrictions, AssertionInfo info)
-
elementsShouldSatisfyExactly
public static ErrorMessageFactory elementsShouldSatisfyExactly(Object actual, Map<Integer,UnsatisfiedRequirement> unsatisfiedRequirements, AssertionInfo info)
-
describeErrors
private static String describeErrors(Map<Integer,UnsatisfiedRequirement> unsatisfiedRequirements, AssertionInfo info)
-
describe
private static String describe(Map.Entry<Integer,UnsatisfiedRequirement> requirementsAtIndex, AssertionInfo info)
-
describeErrors
private static String describeErrors(List<UnsatisfiedRequirement> elementsNotSatisfyingRequirements, AssertionInfo info)
-
unsatisfiedRequirement
public static UnsatisfiedRequirement unsatisfiedRequirement(Object elementNotSatisfyingRequirements, String errorMessage)
-
-