public testResultContainsSourceContentElement ( string $result ) | ||
$result | string |
public function testResultContainsSourceContentElement($result)
{
$this->assertXMLTag(array('tag' => 'SourceContent', 'attributes' => array('media-type' => 'application/vnd.ez.api.ContentInfo+xml', 'href' => '/content/objects/1')), $result, 'Invalid or non-existing <Relation> SourceContent element.', false);
}