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