eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\RestLocationTest::testResultContainsParentLocationAttributes PHP Метод

testResultContainsParentLocationAttributes() публичный Метод

Test if result contains ParentLocation element attributes.
    public function testResultContainsParentLocationAttributes($result)
    {
        $this->assertXMLTag(array('tag' => 'ParentLocation', 'attributes' => array('media-type' => 'application/vnd.ez.api.Location+xml', 'href' => '/content/locations/1/2/21')), $result, 'Invalid <ParentLocation> attributes.', false);
    }