public function testLocationsHrefCorrect(\DOMDocument $dom) { $this->assertXPath($dom, '/User/Locations[@href="/content/objects/content23/locations"]'); }