Neos\Flow\Tests\Unit\Validation\Validator\UniqueEntityValidatorTest::validatorThrowsExceptionIfValueIsNotAFlowEntity PHP Метод

validatorThrowsExceptionIfValueIsNotAFlowEntity() публичный Метод

    public function validatorThrowsExceptionIfValueIsNotAFlowEntity()
    {
        $this->classSchema->expects($this->once())->method('getModelType')->will($this->returnValue(ClassSchema::MODELTYPE_VALUEOBJECT));
        $this->validator->validate(new \stdClass());
    }