public function testRolesHrefCorrect(\DOMDocument $dom) { $this->assertXPath($dom, '/User/Roles[@href="/user/users/content23/roles"]'); }