- java.lang.Object
-
- org.testfx.matcher.base.ParentMatchers
-
public class ParentMatchers extends Object
TestFX matchers forParent
nodes.
-
-
Method Summary
Modifier and Type Method Description static org.hamcrest.Matcher<javafx.scene.Parent>
hasChild()
Creates a matcher that matches allParent
s that have at least one child.static org.hamcrest.Matcher<javafx.scene.Parent>
hasChildren(int amount)
Creates a matcher that matches allParent
s that have exactlyamount
children.
-
-
-
Method Detail
-
hasChild
public static org.hamcrest.Matcher<javafx.scene.Parent> hasChild()
Creates a matcher that matches allParent
s that have at least one child.
-
hasChildren
public static org.hamcrest.Matcher<javafx.scene.Parent> hasChildren(int amount)
Creates a matcher that matches allParent
s that have exactlyamount
children.
-
-