You are here

public function VoidCacheTest::testShouldAlwaysReturnFalseOnFetch in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/VoidCacheTest.php \Doctrine\Tests\Common\Cache\VoidCacheTest::testShouldAlwaysReturnFalseOnFetch()

File

vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/VoidCacheTest.php, line 20

Class

VoidCacheTest
@covers \Doctrine\Common\Cache\VoidCache

Namespace

Doctrine\Tests\Common\Cache

Code

public function testShouldAlwaysReturnFalseOnFetch() {
  $cache = new VoidCache();
  $this
    ->assertFalse($cache
    ->fetch('foo'));
  $this
    ->assertFalse($cache
    ->fetch('bar'));
}