ArrayCacheTest.php 378 B

123456789101112131415161718192021
  1. <?php
  2. namespace Doctrine\Tests\Common\Cache;
  3. use Doctrine\Common\Cache\ArrayCache;
  4. class ArrayCacheTest extends CacheTest
  5. {
  6. protected function _getCacheDriver()
  7. {
  8. return new ArrayCache();
  9. }
  10. public function testGetStats()
  11. {
  12. $cache = $this->_getCacheDriver();
  13. $stats = $cache->getStats();
  14. $this->assertNull($stats);
  15. }
  16. }