eZ\Publish\Core\Limitation\Tests\StatusLimitationTypeTest::getContentMock PHP Method

getContentMock() protected method

protected getContentMock ( )
    protected function getContentMock()
    {
        $contentMock = $this->getMock('eZ\\Publish\\API\\Repository\\Values\\Content\\Content', array(), array(), '', false);
        $contentMock->expects($this->once())->method('getVersionInfo')->will($this->returnValue($this->getVersionInfoMock()));
        return $contentMock;
    }