public class EndsWith extends Object implements ArgumentMatcher<String>, Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
matches(String actual)
Informs if this matcher accepts the given argument.
|
String |
toString() |
public EndsWith(String suffix)
public boolean matches(String actual)
ArgumentMatcher
The method should never assert if the argument doesn't match. It should only return false.
See the example in the top level javadoc for ArgumentMatcher
matches
in interface ArgumentMatcher<String>
actual
- the argumentCopyright © 2020. All rights reserved.