public class NodeIterableContains<T extends Node> extends org.hamcrest.TypeSafeDiagnosingMatcher<NodeIterable<T>>
Constructor and Description |
---|
NodeIterableContains(T node) |
Modifier and Type | Method and Description |
---|---|
static <T extends Node> |
contains(T node) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(NodeIterable<T> iterable,
org.hamcrest.Description mismatchDescription) |
public NodeIterableContains(T node)
public void describeTo(org.hamcrest.Description description)
public static <T extends Node> NodeIterableContains<T> contains(T node)
protected boolean matchesSafely(NodeIterable<T> iterable, org.hamcrest.Description mismatchDescription)
matchesSafely
in class org.hamcrest.TypeSafeDiagnosingMatcher<NodeIterable<T extends Node>>