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