eZ\Bundle\EzPublishRestBundle\Features\Context\SubContext\Exception::assertNotFoundException PHP Method

assertNotFoundException() public method

    public function assertNotFoundException()
    {
        $this->assertStatusCode(404);
        $this->assertStatusMessage('Not Found');
        $this->assertHeaderHasObject('content-type', 'ErrorMessage');
        $this->assertResponseObject('eZ\\Publish\\Core\\REST\\Common\\Exceptions\\NotFoundException');
        $this->assertResponseErrorStatusCode(404);
        $this->assertResponseErrorDescription("/^Could not find '([^']+)' with identifier '([^']+)'\$/");
    }