public class AbsentPattern extends StringValuePattern
| Modifier and Type | Field and Description |
|---|---|
static AbsentPattern |
ABSENT |
expectedValue| Constructor and Description |
|---|
AbsentPattern(java.lang.String expectedValue) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getExpected() |
MatchResult |
match(java.lang.String value) |
boolean |
nullSafeIsAbsent() |
equals, getName, hashCode, isAbsent, isPresent, toStringgetValuepublic static final AbsentPattern ABSENT
public boolean nullSafeIsAbsent()
nullSafeIsAbsent in class StringValuePatternpublic MatchResult match(java.lang.String value)
public java.lang.String getExpected()
getExpected in interface NamedValueMatcher<java.lang.String>getExpected in class StringValuePattern