public class ShouldSatisfy extends BasicErrorMessageFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
CONDITION_SHOULD_BE_SATISFIED |
static String |
CONSUMERS_SHOULD_BE_SATISFIED_IN_ANY_ORDER |
static String |
CONSUMERS_SHOULD_NOT_BE_NULL |
arguments, format| Modifier and Type | Method and Description |
|---|---|
static <T> ErrorMessageFactory |
shouldSatisfy(T actual,
Condition<? super T> condition) |
static <E> ErrorMessageFactory |
shouldSatisfyExactlyInAnyOrder(Iterable<E> actual)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringpublic static final String CONDITION_SHOULD_BE_SATISFIED
public static final String CONSUMERS_SHOULD_BE_SATISFIED_IN_ANY_ORDER
public static final String CONSUMERS_SHOULD_NOT_BE_NULL
public static <T> ErrorMessageFactory shouldSatisfy(T actual, Condition<? super T> condition)
public static <E> ErrorMessageFactory shouldSatisfyExactlyInAnyOrder(Iterable<E> actual)
ShouldSatisfy.E - the iterable elements type.actual - the actual iterable in the failed assertion.ErrorMessageFactory.Copyright © 2025. All rights reserved.