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

        hasType(XmlUtils.XML_CDATA);

        assertThat(((XmlCData) actual.getData()).getText())
                .overridingErrorMessage(
                        "Expected CData to be <%s> but was <%s>",
                        text,
                        ((XmlCData) actual.getData()).getText()
                )
                .isEqualTo(text);

        return this;
    }
/**
     * Verify that the actual node :
     * - is of type CData
     * - has the given text content
     *
     * @return this assertion object
     */
Verify that the actual node :
- is of type CData
- has the given text content

@return this assertion object
Verify that the actual node : - is of type CData - has the given text content @return this assertion object
public XmlNodeAssert isCData(String text) {
        isNotNull();
        hasType(XmlUtils.XML_CDATA);
        assertThat(((XmlCData) actual.getData()).getText())
                .overridingErrorMessage(
                        "Expected CData to be <%s> but was <%s>",
                        text,
                        ((XmlCData) actual.getData()).getText()
                )
                .isEqualTo(text);
        return this;
    }
public XmlNodeAssert isCData ( String text ) { isNotNull ( ) ; hasType ( XmlUtils . XML_CDATA ) ; assertThat ( ( ( XmlCData ) actual . getData ( ) ) . getText ( ) ) . overridingErrorMessage ( "Expected CData to be <%s> but was <%s>" , text , ( ( XmlCData ) actual . getData ( ) ) . getText ( ) ) . isEqualTo ( text ) ; return this ; }
Verify that the actual node :
 - is of type CData
 - has the given text content
Verify that the actual node : - is of type CData - has the given text content