public testResultContainsRelationAttributes ( string $result ) | ||
$result | string |
public function testResultContainsRelationAttributes($result)
{
$this->assertXMLTag(array('tag' => 'Relation', 'attributes' => array('media-type' => 'application/vnd.ez.api.Relation+xml', 'href' => '/content/objects/1/versions/1/relations/42')), $result, 'Invalid <Relation> attributes.', false);
}