You are here

public function RedisCacheTest::testHitMissesStatsAreProvided in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/RedisCacheTest.php \Doctrine\Tests\Common\Cache\RedisCacheTest::testHitMissesStatsAreProvided()

File

vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/RedisCacheTest.php, line 25

Class

RedisCacheTest

Namespace

Doctrine\Tests\Common\Cache

Code

public function testHitMissesStatsAreProvided() {
  $cache = $this
    ->_getCacheDriver();
  $stats = $cache
    ->getStats();
  $this
    ->assertNotNull($stats[Cache::STATS_HITS]);
  $this
    ->assertNotNull($stats[Cache::STATS_MISSES]);
}