AssetManagerTest\Service\AssetCacheManagerTest::testGetProviderWithNoCacheConfig PHP Method

testGetProviderWithNoCacheConfig() public method

    public function testGetProviderWithNoCacheConfig()
    {
        $serviceManager = new ServiceManager();
        $assetManager = new AssetCacheManager($serviceManager, array());
        $reflectionMethod = new \ReflectionMethod(AssetCacheManager::class, 'getProvider');
        $reflectionMethod->setAccessible(true);
        $provider = $reflectionMethod->invoke($assetManager, 'no/path');
        $this->assertNull($provider);
    }