axel/src/test/java/fr/xgouchet/xmleditor/test/XmlDocDeclDataAssert.java
public XmlDocDeclDataAssert hasEncoding(String encoding) {
        isNotNull();

        assertThat(actual.getEncoding())
                .overridingErrorMessage("Expected version to be <%s> but was <%s>", encoding, actual.getEncoding())
                .isEqualTo(encoding);

        return this;
    }
/**
     * Verify that this data has the given encoding
     *
     * @return this assertion object
     */
Verify that this data has the given encoding
@return this assertion object
Verify that this data has the given encoding @return this assertion object
public XmlDocDeclDataAssert hasEncoding(String encoding) {
        isNotNull();
        assertThat(actual.getEncoding())
                .overridingErrorMessage("Expected version to be <%s> but was <%s>", encoding, actual.getEncoding())
                .isEqualTo(encoding);
        return this;
    }
public XmlDocDeclDataAssert hasEncoding ( String encoding ) { isNotNull ( ) ; assertThat ( actual . getEncoding ( ) ) . overridingErrorMessage ( "Expected version to be <%s> but was <%s>" , encoding , actual . getEncoding ( ) ) . isEqualTo ( encoding ) ; return this ; }
Verify that this data has the given encoding
 @return this assertion object
Verify that this data has the given encoding @return this assertion object