VerifyXmlTrait
Table of Contents
Methods
- equalsXmlString() : mixed
- Verifies that two XML documents are equal.
- xmlFileNotEqualsXmlFile() : mixed
- Verifies that two XML files are not equal.
- xmlStringNotEqualsXmlFile() : mixed
- Verifies that two XML documents are not equal.
- xmlStringNotEqualsXmlString() : mixed
- Verifies that two XML documents are not equal.
Methods
equalsXmlString()
Verifies that two XML documents are equal.
public
equalsXmlString(DOMDocument|string $expectedXml) : mixed
Parameters
- $expectedXml : DOMDocument|string
xmlFileNotEqualsXmlFile()
Verifies that two XML files are not equal.
public
xmlFileNotEqualsXmlFile(string $expectedFile) : mixed
Parameters
- $expectedFile : string
xmlStringNotEqualsXmlFile()
Verifies that two XML documents are not equal.
public
xmlStringNotEqualsXmlFile(string $expectedFile) : mixed
Parameters
- $expectedFile : string
xmlStringNotEqualsXmlString()
Verifies that two XML documents are not equal.
public
xmlStringNotEqualsXmlString(DOMDocument|string $expectedXml) : mixed
Parameters
- $expectedXml : DOMDocument|string