Neos\Flow\Tests\Unit\Validation\Validator\UniqueEntityValidatorTest::validatorThrowsExceptionIfThereIsNoIdentityProperty PHP 메소드

validatorThrowsExceptionIfThereIsNoIdentityProperty() 공개 메소드

    public function validatorThrowsExceptionIfThereIsNoIdentityProperty()
    {
        $this->prepareMockExpectations();
        $this->classSchema->expects($this->once())->method('getIdentityProperties')->will($this->returnValue([]));
        $this->validator->validate(new \StdClass());
    }