protected function setUp() { $this->cacheService = new \TYPO3\CMS\Extbase\Service\CacheService(); $this->cacheManagerMock = $this->getMock(\TYPO3\CMS\Core\Cache\CacheManager::class); $this->cacheService->injectCacheManager($this->cacheManagerMock); }
public function setUp() { $this->cacheService = new \TYPO3\CMS\Extbase\Service\CacheService(); $this->cacheManagerMock = $this->getMock('TYPO3\\CMS\\Core\\Cache\\CacheManager'); $this->cacheService->injectCacheManager($this->cacheManagerMock); }