eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\RelationListTest::testResultContainsRelationsAttributes PHP Method

testResultContainsRelationsAttributes() public method

Test if result contains Relations element attributes.
    public function testResultContainsRelationsAttributes($result)
    {
        $this->assertXMLTag(array('tag' => 'Relations', 'attributes' => array('media-type' => 'application/vnd.ez.api.RelationList+xml', 'href' => '/content/objects/42/versions/21/relations')), $result, 'Invalid <Relations> attributes.', false);
    }