class ArrayCacheTest in Plug 7
Hierarchy
- class \Doctrine\Tests\Common\Cache\CacheTest extends \Doctrine\Tests\DoctrineTestCase
- class \Doctrine\Tests\Common\Cache\ArrayCacheTest
Expanded class hierarchy of ArrayCacheTest
File
- lib/
doctrine/ cache/ tests/ Doctrine/ Tests/ Common/ Cache/ ArrayCacheTest.php, line 7
Namespace
Doctrine\Tests\Common\CacheView source
class ArrayCacheTest extends CacheTest {
protected function _getCacheDriver() {
return new ArrayCache();
}
public function testGetStats() {
$cache = $this
->_getCacheDriver();
$stats = $cache
->getStats();
$this
->assertNull($stats);
}
protected function isSharedStorage() {
return false;
}
}