You are here

function assertEqualXMLStructure in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \assertEqualXMLStructure()

Asserts that a hierarchy of DOMElements matches.

@since Method available since Release 3.3.0

Parameters

DOMElement $expectedElement:

DOMElement $actualElement:

bool $checkAttributes:

string $message:

File

vendor/phpunit/phpunit/src/Framework/Assert/Functions.php, line 619

Code

function assertEqualXMLStructure(DOMElement $expectedElement, DOMElement $actualElement, $checkAttributes = false, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertEqualXMLStructure', func_get_args());
}