public static function PHPUnit_Framework_Assert::assertXmlStringNotEqualsXmlString in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \PHPUnit_Framework_Assert::assertXmlStringNotEqualsXmlString()
Asserts that two XML documents are not equal.
@since Method available since Release 3.1.0
Parameters
string $expectedXml:
string $actualXml:
string $message:
1 call to PHPUnit_Framework_Assert::assertXmlStringNotEqualsXmlString()
- Framework_AssertTest::testAssertXmlStringNotEqualsXmlString in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertXmlStringNotEqualsXmlString
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php, line 1779
Class
- PHPUnit_Framework_Assert
- A set of assert methods.
Code
public static function assertXmlStringNotEqualsXmlString($expectedXml, $actualXml, $message = '') {
$expected = PHPUnit_Util_XML::load($expectedXml);
$actual = PHPUnit_Util_XML::load($actualXml);
self::assertNotEquals($expected, $actual, $message);
}