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

theConstructorSetsTheErrorMessageCorrectly() public method

    public function theConstructorSetsTheErrorMessageCorrectly()
    {
        $errorMessage = 'The message';
        $error = new FlowError($errorMessage, 0);
        $this->assertEquals($errorMessage, $error->getMessage());
    }