Predicate accepts a value failed.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < guarantees that the type of the value value and the generic type of the T> ErrorMessageFactoryPredicate are the same. | Returns: the createdErrorMessageFactory.the predicate, T Predicate.the value value in the failed assertion. value, PredicateDescription predicate description to include in the error message, description)Creates a new |
| ShouldAccept | back to summary |
|---|---|
| private ShouldAccept(Object value, PredicateDescription description) | |
| shouldAccept | back to summary |
|---|---|
| public static <T> ErrorMessageFactory shouldAccept(Predicate<? super T> predicate, T value, PredicateDescription description) Creates a new
| |