You are here

public function VoidCacheTest::testShouldAlwaysReturnFalseOnFetch in Plug 7

File

lib/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'));
}