Neos\Flow\Tests\Unit\Validation\Validator\UniqueEntityValidatorTest::validatorThrowsExceptionIfThereIsNoIdentityProperty PHP Method

validatorThrowsExceptionIfThereIsNoIdentityProperty() public method

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