Neos\Flow\Tests\Unit\Validation\Validator\UuidValidatorTest::UUIDValidatorCreatesTheCorrectErrorIfTheSubjectIsInvalid PHP Method

UUIDValidatorCreatesTheCorrectErrorIfTheSubjectIsInvalid() public method

    public function UUIDValidatorCreatesTheCorrectErrorIfTheSubjectIsInvalid()
    {
        $expected = [new Validation\Error('The given subject was not a valid UUID.', 1221565853)];
        $this->assertEquals($expected, $this->validator->validate('e104e469-9030-4b98-babf-3990f07')->getErrors());
    }