public function testUserRefListHrefCorrect(\DOMDocument $dom) { $this->assertXPath($dom, '/UserRefList[@href="/some/path"]'); }