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