You are here

public function PredisCacheTest::testHitMissesStatsAreProvided in Zircon Profile 8

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

File

vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/PredisCacheTest.php, line 29

Class

PredisCacheTest

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]);
}