public function assertEqualXMLStructure(\DOMElement $expectedElement, $checkAttributes = false) {
        $this->callAssertMethod(__FUNCTION__, [
            'expected' => $expectedElement,
            'options' => [
                $checkAttributes,
            ],
        ]);
    }
public function assertEqualXMLStructure(\DOMElement $expectedElement, $checkAttributes = false) {
        $this->callAssertMethod(__FUNCTION__, [
            'expected' => $expectedElement,
            'options' => [
                $checkAttributes,
            ],
        ]);
    }
public function assertEqualXMLStructure ( \ DOMElement $ expectedElement , $ checkAttributes = false ) { $ this -> callAssertMethod ( __FUNCTION__ , [ 'expected' => $ expectedElement , 'options' => [ $ checkAttributes , ] , ] ) ; }
Asserts that a hierarchy of DOMElements matches.

@param \DOMElement $expectedElement
@param bool $checkAttributes
Asserts that a hierarchy of DOMElements matches .