org.mockito.internal.matchers
public class Contains extends Object implements ArgumentMatcher<String>, Serializable
public Contains(String substring)
public boolean matches(String actual)
ArgumentMatcherThe 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 argument