Neos\Flow\Tests\Unit\Error\ErrorTest::theConstructorSetsTheErrorCodeCorrectly PHP Méthode

theConstructorSetsTheErrorCodeCorrectly() public méthode

    public function theConstructorSetsTheErrorCodeCorrectly()
    {
        $errorCode = 123456789;
        $error = new FlowError('', $errorCode);
        $this->assertEquals($errorCode, $error->getCode());
    }