eZ\Publish\Core\REST\Client\Tests\Input\Parser\LocationTest::testResultContainsParentLocationId PHP Method

testResultContainsParentLocationId() public method

Tests that the resulting location contains parent location ID.
public testResultContainsParentLocationId ( eZ\Publish\API\Repository\Values\Content\Location $result )
$result eZ\Publish\API\Repository\Values\Content\Location
    public function testResultContainsParentLocationId($result)
    {
        $this->assertEquals('/content/locations/1/2/21', $result->parentLocationId);
    }