axel/src/test/java/fr/xgouchet/xmleditor/test/TreeNodeAssert.java
public TreeNodeAssert<T> hasParent(TreeNode<T> parent) {
        isNotNull();

        assertThat(actual.getParent())
                .overridingErrorMessage("Expected parent to be <%s> but was <%s>", parent, actual.getParent())
                .isEqualTo(parent);

        return this;
    }
/**
     * Verify that the actual parent of the node is equal to the given node
     *
     * @param parent the node to compare the actual parent to
     * @return this assertion object
     */
Verify that the actual parent of the node is equal to the given node
@param parent the node to compare the actual parent to
@return this assertion object
Verify that the actual parent of the node is equal to the given node @param parent the node to compare the actual parent to @return this assertion object
public TreeNodeAssert<T> hasParent(TreeNode<T> parent) {
        isNotNull();
        assertThat(actual.getParent())
                .overridingErrorMessage("Expected parent to be <%s> but was <%s>", parent, actual.getParent())
                .isEqualTo(parent);
        return this;
    }
public TreeNodeAssert < T > hasParent ( TreeNode < T > parent ) { isNotNull ( ) ; assertThat ( actual . getParent ( ) ) . overridingErrorMessage ( "Expected parent to be <%s> but was <%s>" , parent , actual . getParent ( ) ) . isEqualTo ( parent ) ; return this ; }
Verify that the actual parent of the node is equal to the given node
 @param parent the node to compare the actual parent to
 @return this assertion object
Verify that the actual parent of the node is equal to the given node @param parent the node to compare the actual parent to @return this assertion object