Constructor and Description |
---|
ParentMatchers() |
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<Node> |
hasChild()
Creates a matcher that matches all
Parent s that have at least one child. |
static org.hamcrest.Matcher<Node> |
hasChildren(int amount)
Creates a matcher that matches all
Parent s that have exactly amount children. |