AssetManagerTest\Controller\ConsoleControllerTest::getAssetCacheManager PHP Method

getAssetCacheManager() protected method

protected getAssetCacheManager ( ) : AssetCacheManager
return AssetManager\Service\AssetCacheManager
    protected function getAssetCacheManager()
    {
        $serviceLocator = $this->getMock(ServiceLocatorInterface::class);
        $config = array(self::$assetName => array('cache' => 'FilePathCache', 'options' => array('dir' => sys_get_temp_dir())));
        $assetCacheManager = new AssetCacheManager($serviceLocator, $config);
        return $assetCacheManager;
    }