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