Neos\Flow\Tests\Unit\Error\ErrorTest::theConstructorSetsTheErrorCodeCorrectly PHP Method

theConstructorSetsTheErrorCodeCorrectly() public method

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