eZ\Publish\Core\Persistence\Legacy\Tests\Content\StorageHandlerTest::getStorageRegistryMock PHP Method

getStorageRegistryMock() protected method

Returns a StorageRegistry mock.
protected getStorageRegistryMock ( ) : StorageRegistry
return eZ\Publish\Core\Persistence\Legacy\Content\StorageRegistry
    protected function getStorageRegistryMock()
    {
        if (!isset($this->storageRegistryMock)) {
            $this->storageRegistryMock = $this->getMock('eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\StorageRegistry', array(), array(array()));
        }
        return $this->storageRegistryMock;
    }