eZ\Bundle\EzPublishRestBundle\Tests\Functional\RootTest::testCatchAll PHP Method

testCatchAll() public method

public testCatchAll ( $uri )
    public function testCatchAll($uri)
    {
        self::markTestSkipped('@todo fixme');
        $response = $this->sendHttpRequest($this->createHttpRequest('GET', '/api/ezp/v2/' . uniqid('rest'), '', 'Stuff+json'));
        self::assertHttpResponseCodeEquals($response, 404);
        $responseArray = json_decode($response->getContent(), true);
        self::assertArrayHasKey('ErrorMessage', $responseArray);
        self::assertEquals('No such route', $responseArray['ErrorMessage']['errorDescription']);
    }
RootTest