public class ShouldNotMatch extends BasicErrorMessageFactory
Predicate
failed.Modifier and Type | Field and Description |
---|---|
static String |
ADVICE |
arguments, format
Modifier and Type | Method and Description |
---|---|
static <T> ErrorMessageFactory |
shouldNotMatch(T actual,
Predicate<? super T> predicate,
PredicateDescription predicateDescription)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static final String ADVICE
public static <T> ErrorMessageFactory shouldNotMatch(T actual, Predicate<? super T> predicate, PredicateDescription predicateDescription)
ShouldNotMatch
.T
- guarantees that the type of the actual value and the generic type of the Predicate
are the same.actual
- the actual value in the failed assertion.predicate
- the Predicate
.predicateDescription
- predicate description to include in the error messageErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.