axel/src/test/java/fr/xgouchet/xmleditor/test/XmlNodeAssert.java
public XmlNodeAssert hasType(@XmlUtils.XmlNodeType int type) {
        isNotNull();

        assertThat(actual.getDataType())
                .overridingErrorMessage("Expecting node type to be <%s> but was <%s>",
                        XmlUtils.getTypeName(type),
                        XmlUtils.getTypeName(actual.getDataType()))
                .isEqualTo(type);

        return this;
    }
/**
     * Verify that the actual node as the given type
     *
     * @return this assertion object
     */
Verify that the actual node as the given type
@return this assertion object
Verify that the actual node as the given type @return this assertion object
public XmlNodeAssert hasType(@XmlUtils.XmlNodeType int type) {
        isNotNull();
        assertThat(actual.getDataType())
                .overridingErrorMessage("Expecting node type to be <%s> but was <%s>",
                        XmlUtils.getTypeName(type),
                        XmlUtils.getTypeName(actual.getDataType()))
                .isEqualTo(type);
        return this;
    }
public XmlNodeAssert hasType ( @ XmlUtils . XmlNodeType int type ) { isNotNull ( ) ; assertThat ( actual . getDataType ( ) ) . overridingErrorMessage ( "Expecting node type to be <%s> but was <%s>" , XmlUtils . getTypeName ( type ) , XmlUtils . getTypeName ( actual . getDataType ( ) ) ) . isEqualTo ( type ) ; return this ; }
Verify that the actual node as the given type
 @return this assertion object
Verify that the actual node as the given type @return this assertion object