axel/src/test/java/fr/xgouchet/xmleditor/test/TreeNodeAssert.java
public TreeNodeAssert<T> hasDepth(int depth) {
        isNotNull();

        assertThat(actual.getDepth())
                .overridingErrorMessage("Expected depth to be <%d> but was <%d>", depth, actual.getDepth())
                .isEqualTo(depth);

        return this;
    }
/**
     * Verify that the actual node has a the given depth
     *
     * @return this assertion object
     */
Verify that the actual node has a the given depth
@return this assertion object
Verify that the actual node has a the given depth @return this assertion object
public TreeNodeAssert<T> hasDepth(int depth) {
        isNotNull();
        assertThat(actual.getDepth())
                .overridingErrorMessage("Expected depth to be <%d> but was <%d>", depth, actual.getDepth())
                .isEqualTo(depth);
        return this;
    }
public TreeNodeAssert < T > hasDepth ( int depth ) { isNotNull ( ) ; assertThat ( actual . getDepth ( ) ) . overridingErrorMessage ( "Expected depth to be <%d> but was <%d>" , depth , actual . getDepth ( ) ) . isEqualTo ( depth ) ; return this ; }
Verify that the actual node has a the given depth
 @return this assertion object
Verify that the actual node has a the given depth @return this assertion object