org.testinfected.hamcrest.dom
Class HasChildren
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeDiagnosingMatcher<T>
org.hamcrest.FeatureMatcher<Element,Iterable<Element>>
org.testinfected.hamcrest.dom.HasChildren
- All Implemented Interfaces:
- org.hamcrest.Matcher<Element>, org.hamcrest.SelfDescribing
public class HasChildren
- extends org.hamcrest.FeatureMatcher<Element,Iterable<Element>>
| 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 |
HasChildren
public HasChildren(org.hamcrest.Matcher<Iterable<Element>> childrenMatcher)
featureValueOf
protected Iterable<Element> featureValueOf(Element actual)
- Specified by:
featureValueOf in class org.hamcrest.FeatureMatcher<Element,Iterable<Element>>
hasChildren
public static org.hamcrest.Matcher<Element> hasChildren(org.hamcrest.Matcher<? super Element>... childrenMatchers)
hasChild
public static org.hamcrest.Matcher<Element> hasChild(org.hamcrest.Matcher<? super Element> childMatcher)
hasChildren
public static org.hamcrest.Matcher<Element> hasChildren(org.hamcrest.Matcher<Iterable<Element>> childrenMatcher)
Copyright © 2015. All Rights Reserved.