You are here

ArrayCacheTest.php in Zircon Profile 8

File

vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ArrayCacheTest.php
View source
<?php

namespace Doctrine\Tests\Common\Cache;

use Doctrine\Common\Cache\ArrayCache;
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;
  }

}

Classes

Namesort descending Description
ArrayCacheTest