public class StringContains extends SubstringMatcher
substring
Constructor and Description |
---|
StringContains(String substring) |
Modifier and Type | Method and Description |
---|---|
static Matcher<String> |
containsString(String substring) |
protected boolean |
evalSubstringOf(String s) |
protected String |
relationship() |
describeMismatchSafely, describeTo, matchesSafely
describeMismatch, matches
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
public StringContains(String substring)
protected boolean evalSubstringOf(String s)
evalSubstringOf
in class SubstringMatcher
protected String relationship()
relationship
in class SubstringMatcher
Copyright © 2016. All rights reserved.