public function testResultContainsContentTypeListAttributes($result) { $this->assertXMLTag(array('tag' => 'ContentTypeList', 'attributes' => array('media-type' => 'application/vnd.ez.api.ContentTypeList+xml', 'href' => '/content/typegroups/2/types')), $result, 'Invalid <ContentTypeList> attributes.', false); }