eZ\Publish\Core\REST\Client\Tests\Output\ValueObjectVisitor\LocationCreateStructTest::testResultContainsParentLocationAttributes PHP Method

testResultContainsParentLocationAttributes() public method

Tests that the result contains ParentLocation 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/42')), $result, 'Invalid <ParentLocation> attributes.', false);
    }