You are here

public function Framework_AssertTest::testAssertXmlStringEqualsXmlString3 in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/Framework/AssertTest.php \Framework_AssertTest::testAssertXmlStringEqualsXmlString3()

@covers PHPUnit_Framework_Assert::assertXmlStringEqualsXmlString @ticket 1860

File

vendor/phpunit/phpunit/tests/Framework/AssertTest.php, line 1186

Class

Framework_AssertTest
@since Class available since Release 2.0.0

Code

public function testAssertXmlStringEqualsXmlString3() {
  $expected = <<<XML
<?xml version="1.0"?>
<root>
    <node />
</root>
XML;
  $actual = <<<XML
<?xml version="1.0"?>
<root>
<node />
</root>
XML;
  $this
    ->assertXmlStringEqualsXmlString($expected, $actual);
}