public class ParentMatchers
extends java.lang.Object
Parent nodes.| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<javafx.scene.Parent> |
hasChild()
Creates a matcher that matches all
Parents that have at least one child. |
static org.hamcrest.Matcher<javafx.scene.Parent> |
hasChildren(int amount)
Creates a matcher that matches all
Parents that have exactly amount children. |
public static org.hamcrest.Matcher<javafx.scene.Parent> hasChild()
Parents that have at least one child.public static org.hamcrest.Matcher<javafx.scene.Parent> hasChildren(int amount)
Parents that have exactly amount children.