public static class MarkdownProjectModelBuilder.StringContainsIgnoreCase
extends org.hamcrest.core.SubstringMatcher
| Constructor and Description |
|---|
MarkdownProjectModelBuilder.StringContainsIgnoreCase(String substring) |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<String> |
containsStringIgnoreCase(String substring)
|
protected boolean |
evalSubstringOf(String s) |
protected String |
relationship() |
describeMismatchSafely, describeTo, matchesSafelypublic MarkdownProjectModelBuilder.StringContainsIgnoreCase(String substring)
protected boolean evalSubstringOf(String s)
evalSubstringOf in class org.hamcrest.core.SubstringMatcherprotected String relationship()
relationship in class org.hamcrest.core.SubstringMatcherpublic static org.hamcrest.Matcher<String> containsStringIgnoreCase(String substring)
String contains the specified
String anywhere.
For example:
assertThat("myStringOfNote", containsString("ring"))substring - the substring that the returned matcher will expect to find within any examined stringCopyright © 2004-2013. All Rights Reserved.