Interface RecursiveAssertionIntrospectionStrategy

    • Method Detail

      • getChildNodesOf

        java.util.List<RecursiveAssertionNode> getChildNodesOf​(java.lang.Object node)
        Returns the child nodes of the given object that will be asserted in the recursive assertion.

        A typical implementation could look at the object fields or properties.

        Parameters:
        node - the object to get the child from
        Returns:
        the child nodes of the given object
      • getDescription

        default java.lang.String getDescription()
        Returns a human-readable description of the strategy to be used in error messages.

        Default implementation returns this.getClass().getSimpleName().

        Returns:
        a description of the strategy