axel/src/test/java/fr/xgouchet/xmleditor/test/XmlNodeAssert.java
public XmlNodeAssert hasAttributes(XmlAttribute... attrs) {
        isNotNull();

        hasType(XmlUtils.XML_ELEMENT);

        XmlElement data = (XmlElement) actual.getData();

        assertThat(data.getAttributes())
                .contains(attrs);

        return this;
    }
/**
     * Verifies this node holds the given attributes.
     * This will only work for Element typed nodes.
     *
     * @return this assertion object
     */
Verifies this node holds the given attributes.
This will only work for Element typed nodes.

@return this assertion object
Verifies this node holds the given attributes . This will only work for Element typed nodes . @return this assertion object
public XmlNodeAssert hasAttributes(XmlAttribute... attrs) {
        isNotNull();
        hasType(XmlUtils.XML_ELEMENT);
        XmlElement data = (XmlElement) actual.getData();
        assertThat(data.getAttributes())
                .contains(attrs);
        return this;
    }
public XmlNodeAssert hasAttributes ( XmlAttribute ... attrs ) { isNotNull ( ) ; hasType ( XmlUtils . XML_ELEMENT ) ; XmlElement data = ( XmlElement ) actual . getData ( ) ; assertThat ( data . getAttributes ( ) ) . contains ( attrs ) ; return this ; }
Verifies this node holds the given attributes.
Verifies this node holds the given attributes .