axel/src/test/java/fr/xgouchet/xmleditor/test/TreeNodeAssert.java
public TreeNodeAssert<T> hasDataExactly(T data) {
        isNotNull();

        assertThat(actual.getData())
                .overridingErrorMessage("Expected data to be <%s> but was <%s>", data, actual.getData())
                .isSameAs(data);

        return this;
    }
/**
     * Verifies that the data held by the actual node is the same instance as the given value
     *
     * @param data the given data to compare the actual data to.
     * @return this assertion object
     */
Verifies that the data held by the actual node is the same instance as the given value
@param data the given data to compare the actual data to.
@return this assertion object
Verifies that the data held by the actual node is the same instance as the given value @param data the given data to compare the actual data to . @return this assertion object
public TreeNodeAssert<T> hasDataExactly(T data) {
        isNotNull();
        assertThat(actual.getData())
                .overridingErrorMessage("Expected data to be <%s> but was <%s>", data, actual.getData())
                .isSameAs(data);
        return this;
    }
public TreeNodeAssert < T > hasDataExactly ( T data ) { isNotNull ( ) ; assertThat ( actual . getData ( ) ) . overridingErrorMessage ( "Expected data to be <%s> but was <%s>" , data , actual . getData ( ) ) . isSameAs ( data ) ; return this ; }
Verifies that the data held by the actual node is the same instance as the given value
 @param data the given data to compare the actual data to.
Verifies that the data held by the actual node is the same instance as the given value @param data the given data to compare the actual data to .