ArrayCacheTest.php 454 B

1234567891011121314151617181920212223242526
  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. protected function isSharedStorage()
  17. {
  18. return false;
  19. }
  20. }