public class ExactStringMatcher extends BodyMatcher<NottableString>
| Modifier and Type | Method and Description |
|---|---|
String[] |
fieldsExcludedFromEqualsAndHashCode() |
boolean |
isBlank() |
boolean |
matches(MatchDifference context,
NottableString matched) |
boolean |
matches(MatchDifference context,
String matched) |
static boolean |
matches(String matcher,
String matched,
boolean ignoreCase) |
notMatcherequals, hashCode, toStringpublic boolean matches(MatchDifference context, String matched)
public boolean matches(MatchDifference context, NottableString matched)
public boolean isBlank()
public String[] fieldsExcludedFromEqualsAndHashCode()
fieldsExcludedFromEqualsAndHashCode in class ObjectWithReflectiveEqualsHashCodeToStringCopyright © 2020. All rights reserved.