axel/src/test/java/fr/xgouchet/xmleditor/test/XmlNodeAssert.java
public XmlNodeAssert isProcessingInstruction(String target, String instruction) {
        isNotNull();

        hasType(XmlUtils.XML_PROCESSING_INSTRUCTION);

        XmlProcInstrDataAssert procInstrAssert = new XmlProcInstrDataAssert((XmlProcessingInstruction) actual.getData());

        procInstrAssert
                .hasTarget(target)
                .hasInstruction(instruction);

        return this;
    }
/**
     * Verify that the actual node :
     * - is of type Processing Instruction
     * - has the given target and isntructions
     *
     * @return this assertion object
     */
Verify that the actual node :
- is of type Processing Instruction
- has the given target and isntructions

@return this assertion object
Verify that the actual node : - is of type Processing Instruction - has the given target and isntructions @return this assertion object
public XmlNodeAssert isProcessingInstruction(String target, String instruction) {
        isNotNull();
        hasType(XmlUtils.XML_PROCESSING_INSTRUCTION);
        XmlProcInstrDataAssert procInstrAssert = new XmlProcInstrDataAssert((XmlProcessingInstruction) actual.getData());
        procInstrAssert
                .hasTarget(target)
                .hasInstruction(instruction);
        return this;
    }
public XmlNodeAssert isProcessingInstruction ( String target , String instruction ) { isNotNull ( ) ; hasType ( XmlUtils . XML_PROCESSING_INSTRUCTION ) ; XmlProcInstrDataAssert procInstrAssert = new XmlProcInstrDataAssert ( ( XmlProcessingInstruction ) actual . getData ( ) ) ; procInstrAssert . hasTarget ( target ) . hasInstruction ( instruction ) ; return this ; }
Verify that the actual node :
 - is of type Processing Instruction
 - has the given target and isntructions
Verify that the actual node : - is of type Processing Instruction - has the given target and isntructions