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

prepareMockExpectations() protected method

protected prepareMockExpectations ( )
    protected function prepareMockExpectations()
    {
        $this->classSchema->expects($this->once())->method('getModelType')->will($this->returnValue(ClassSchema::MODELTYPE_ENTITY));
        $this->classSchema->expects($this->any())->method('getClassName')->will($this->returnValue('FooClass'));
    }