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