Class AbstractParentAssert<SELF extends AbstractParentAssert<SELF>>

    • Field Summary

      • Fields inherited from class org.assertj.core.api.AbstractAssert

        actual, info, myself, objects, throwUnsupportedExceptionOnEquals
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractParentAssert​(javafx.scene.Parent actual, java.lang.Class<?> selfType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SELF doesNotHaveExactlyNumChildren​(int amount)
      Verifies that the actual Parent does not have exactly the given amount of children.
      SELF hasAnyChild()
      Verifies that the actual Parent has at least one child.
      SELF hasExactlyNumChildren​(int amount)
      Verifies that the actual Parent has exactly the given amount of children.
      SELF hasNoChildren()
      Verifies that the actual Parent has no children.
      • Methods inherited from class org.assertj.core.api.AbstractAssert

        areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.assertj.core.api.Descriptable

        as, as, as, describedAs, describedAs
    • Constructor Detail

      • AbstractParentAssert

        protected AbstractParentAssert​(javafx.scene.Parent actual,
                                       java.lang.Class<?> selfType)
    • Method Detail

      • hasAnyChild

        public SELF hasAnyChild()
        Verifies that the actual Parent has at least one child.
        Returns:
        this assertion object
      • hasNoChildren

        public SELF hasNoChildren()
        Verifies that the actual Parent has no children.
        Returns:
        this assertion object
      • hasExactlyNumChildren

        public SELF hasExactlyNumChildren​(int amount)
        Verifies that the actual Parent has exactly the given amount of children.
        Parameters:
        amount - the given amount of children that the actual Parent should exactly have
        Returns:
        this assertion object
      • doesNotHaveExactlyNumChildren

        public SELF doesNotHaveExactlyNumChildren​(int amount)
        Verifies that the actual Parent does not have exactly the given amount of children.
        Parameters:
        amount - the given amount of children that the actual Parent should not exactly have
        Returns:
        this assertion object