axel/src/test/java/fr/xgouchet/xmleditor/test/XmlNodeAssert.java
public XmlNodeAssert isElement(String qualifiedName) {
        isNotNull();

        hasType(XmlUtils.XML_ELEMENT);

        assertThat(((XmlElement) actual.getData()).getQualifiedName())
                .overridingErrorMessage(
                        "Expected qualified name to be <%s> but was <%s>",
                        qualifiedName,
                        ((XmlElement) actual.getData()).getQualifiedName()
                )
                .isEqualTo(qualifiedName);

        return this;
    }
/**
     * Verify that the actual node :
     * - is of type Element
     * - has the given qualified name
     *
     * @return this assertion object
     */
Verify that the actual node :
- is of type Element
- has the given qualified name

@return this assertion object
Verify that the actual node : - is of type Element - has the given qualified name @return this assertion object
public XmlNodeAssert isElement(String qualifiedName) {
        isNotNull();
        hasType(XmlUtils.XML_ELEMENT);
        assertThat(((XmlElement) actual.getData()).getQualifiedName())
                .overridingErrorMessage(
                        "Expected qualified name to be <%s> but was <%s>",
                        qualifiedName,
                        ((XmlElement) actual.getData()).getQualifiedName()
                )
                .isEqualTo(qualifiedName);
        return this;
    }
public XmlNodeAssert isElement ( String qualifiedName ) { isNotNull ( ) ; hasType ( XmlUtils . XML_ELEMENT ) ; assertThat ( ( ( XmlElement ) actual . getData ( ) ) . getQualifiedName ( ) ) . overridingErrorMessage ( "Expected qualified name to be <%s> but was <%s>" , qualifiedName , ( ( XmlElement ) actual . getData ( ) ) . getQualifiedName ( ) ) . isEqualTo ( qualifiedName ) ; return this ; }
Verify that the actual node :
 - is of type Element
 - has the given qualified name
Verify that the actual node : - is of type Element - has the given qualified name