public class NodeIterableCount extends org.hamcrest.TypeSafeDiagnosingMatcher<NodeIterable<?>>
Modifier and Type | Field and Description |
---|---|
private int |
count |
Constructor and Description |
---|
NodeIterableCount(int count) |
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
static NodeIterableCount |
hasCount(int count) |
protected boolean |
matchesSafely(NodeIterable<?> iterable,
org.hamcrest.Description mismatchDescription) |
private int count
public NodeIterableCount(int count)
public void describeTo(org.hamcrest.Description description)
public static NodeIterableCount hasCount(int count)
protected boolean matchesSafely(NodeIterable<?> iterable, org.hamcrest.Description mismatchDescription)
matchesSafely
in class org.hamcrest.TypeSafeDiagnosingMatcher<NodeIterable<?>>