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