eZ\Publish\Core\Persistence\Legacy\Tests\Content\Language\CachingLanguageHandlerTest::getLanguageCacheMock PHP Method

getLanguageCacheMock() protected method

Returns a mock for the language cache.
protected getLanguageCacheMock ( ) : Cache
return eZ\Publish\Core\Persistence\Legacy\Content\Language\Cache
    protected function getLanguageCacheMock()
    {
        if (!isset($this->languageCacheMock)) {
            $this->languageCacheMock = $this->getMock('eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\Language\\Cache');
        }
        return $this->languageCacheMock;
    }