Rajout de doctrine/orm
[zf2.biz/galerie.git] / vendor / doctrine / common / tests / Doctrine / Tests / Common / Cache / WinCacheCacheTest.php
1 <?php
2
3 namespace Doctrine\Tests\Common\Cache;
4
5 use Doctrine\Common\Cache\WincacheCache;
6
7 class WincacheCacheTest extends CacheTest
8 {
9     public function setUp()
10     {
11         if ( ! extension_loaded('wincache') || ! function_exists('wincache_ucache_info')) {
12             $this->markTestSkipped('The ' . __CLASS__ .' requires the use of Wincache');
13         }
14     }
15
16     protected function _getCacheDriver()
17     {
18         return new WincacheCache();
19     }
20 }