public function testResultContainsContentTypeGroupsTagAttributes($result) { $this->assertXMLTag(array('tag' => 'contentTypeGroups', 'attributes' => array('media-type' => 'application/vnd.ez.api.ContentTypeGroupList+xml', 'href' => '/api/ezp/v2/content/typegroups')), $result, 'Invalid <contentTypeGroups> tag attributes.', false); }