org.testinfected.hamcrest.dom
Class HasContentText
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeDiagnosingMatcher<T>
org.hamcrest.FeatureMatcher<Element,String>
org.testinfected.hamcrest.dom.HasContentText
- All Implemented Interfaces:
- org.hamcrest.Matcher<Element>, org.hamcrest.SelfDescribing
public class HasContentText
- extends org.hamcrest.FeatureMatcher<Element,String>
| Methods inherited from class org.hamcrest.FeatureMatcher |
describeTo, matchesSafely |
| Methods inherited from class org.hamcrest.TypeSafeDiagnosingMatcher |
describeMismatch, matches |
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
HasContentText
public HasContentText(org.hamcrest.Matcher<? super String> contentMatcher)
featureValueOf
protected String featureValueOf(Element actual)
- Specified by:
featureValueOf in class org.hamcrest.FeatureMatcher<Element,String>
hasBlankContent
public static org.hamcrest.Matcher<Element> hasBlankContent()
hasContent
public static org.hamcrest.Matcher<Element> hasContent(String contentText)
hasContent
public static org.hamcrest.Matcher<Element> hasContent(org.hamcrest.Matcher<? super String> contentMatcher)
Copyright © 2015. All Rights Reserved.