Package org.assertj.core.error
Class ShouldSatisfy
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldSatisfy
- All Implemented Interfaces:
ErrorMessageFactory
-
Field Summary
FieldsFields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ErrorMessageFactoryshouldSatisfy(T actual, Condition<? super T> condition) static ErrorMessageFactoryshouldSatisfyAll(Object actual, Description d) static <E> ErrorMessageFactoryshouldSatisfyExactlyInAnyOrder(Iterable<E> actual) Creates a new.ShouldSatisfyMethods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Field Details
-
CONDITION_SHOULD_BE_SATISFIED
- See Also:
-
CONSUMERS_SHOULD_BE_SATISFIED_IN_ANY_ORDER
- See Also:
-
CONSUMERS_SHOULD_NOT_BE_NULL
- See Also:
-
-
Method Details
-
shouldSatisfy
-
shouldSatisfyExactlyInAnyOrder
Creates a new.ShouldSatisfy- Type Parameters:
E- the iterable elements type.- Parameters:
actual- the actual iterable in the failed assertion.- Returns:
- the created
ErrorMessageFactory.
-
shouldSatisfyAll
-