eZ\Bundle\EzPublishRestBundle\Tests\Functional\LocationTest::testLoadLocationChildren PHP Method

testLoadLocationChildren() public method

public testLoadLocationChildren ( $locationHref )
    public function testLoadLocationChildren($locationHref)
    {
        $response = $this->sendHttpRequest($this->createHttpRequest('GET', "{$locationHref}/children", '', 'LocationList+json'));
        self::assertHttpResponseCodeEquals($response, 200);
        self::assertHttpResponseHasHeader($response, 'Content-Type', $this->generateMediaTypeString('LocationList+json'));
    }