public static function BlackHole() { return new CacheStorage(new Storage\BlackHole()); }
public function testRegisterCacheDriver() { ClassLoader::getInstance()->registerCacheDriver(Cache::BlackHole()); $autoloaders = spl_autoload_functions(); $this->assertSame('getClassFromCache', $autoloaders[0][1]); }