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) |
not
addFieldsExcludedFromEqualsAndHashCode, equals, hashCode, toString
public ExactStringMatcher(String matcher)
public ExactStringMatcher(NottableString matcher)
public boolean matches(String matched)
public boolean matches(NottableString matched)
public String[] fieldsExcludedFromEqualsAndHashCode()
fieldsExcludedFromEqualsAndHashCode
in class ObjectWithReflectiveEqualsHashCodeToString
Copyright © 2018. All rights reserved.