public function testRolesHrefCorrect(\DOMDocument $dom) { $this->assertXPath($dom, '/UserGroup/Roles[@href="/user/groups/1/2/23/roles"]'); }