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