public function testMainLocationHrefCorrect(\DOMDocument $dom) { $this->assertXPath($dom, '/Content/MainLocation[@href="/content/locations/1/2/23"]'); }