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

        assertThat(actual.getXPath())
                .overridingErrorMessage("Expecting XPath to be <%s> but was <%s>", xPath, actual.getXPath())
                .isEqualTo(xPath);

        return this;
    }
/**
     * Verify that the actual node as the given XPath
     *
     * @return this assertion object
     */
Verify that the actual node as the given XPath
@return this assertion object
Verify that the actual node as the given XPath @return this assertion object
public XmlNodeAssert hasXPath(String xPath) {
        isNotNull();
        assertThat(actual.getXPath())
                .overridingErrorMessage("Expecting XPath to be <%s> but was <%s>", xPath, actual.getXPath())
                .isEqualTo(xPath);
        return this;
    }
public XmlNodeAssert hasXPath ( String xPath ) { isNotNull ( ) ; assertThat ( actual . getXPath ( ) ) . overridingErrorMessage ( "Expecting XPath to be <%s> but was <%s>" , xPath , actual . getXPath ( ) ) . isEqualTo ( xPath ) ; return this ; }
Verify that the actual node as the given XPath
 @return this assertion object
Verify that the actual node as the given XPath @return this assertion object