Package org.assertj.core.error
Class ShouldSatisfy
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldSatisfy
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldSatisfy extends BasicErrorMessageFactory
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONDITION_SHOULD_BE_SATISFIEDstatic StringCONSUMERS_SHOULD_BE_SATISFIED_IN_ANY_ORDERstatic StringCONSUMERS_SHOULD_NOT_BE_NULL-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description privateShouldSatisfy(Iterable<E> actual)privateShouldSatisfy(Object actual, Condition<?> condition)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> ErrorMessageFactoryshouldSatisfy(T actual, Condition<? super T> condition)static <E> ErrorMessageFactoryshouldSatisfyExactlyInAnyOrder(Iterable<E> actual)Creates a new.ShouldSatisfy-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Field Detail
-
CONDITION_SHOULD_BE_SATISFIED
public static final String CONDITION_SHOULD_BE_SATISFIED
- See Also:
- Constant Field Values
-
CONSUMERS_SHOULD_BE_SATISFIED_IN_ANY_ORDER
public static final String CONSUMERS_SHOULD_BE_SATISFIED_IN_ANY_ORDER
- See Also:
- Constant Field Values
-
CONSUMERS_SHOULD_NOT_BE_NULL
public static final String CONSUMERS_SHOULD_NOT_BE_NULL
- See Also:
- Constant Field Values
-
-
Method Detail
-
shouldSatisfy
public static <T> ErrorMessageFactory shouldSatisfy(T actual, Condition<? super T> condition)
-
shouldSatisfyExactlyInAnyOrder
public static <E> ErrorMessageFactory shouldSatisfyExactlyInAnyOrder(Iterable<E> actual)
Creates a new.ShouldSatisfy- Type Parameters:
E- the iterable elements type.- Parameters:
actual- the actual iterable in the failed assertion.- Returns:
- the created
ErrorMessageFactory.
-
-