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