You are here

public function VoidCacheTest::testShouldAlwaysReturnFalseOnContains in Plug 7

File

lib/doctrine/cache/tests/Doctrine/Tests/Common/Cache/VoidCacheTest.php, line 12

Class

VoidCacheTest
@covers \Doctrine\Common\Cache\VoidCache

Namespace

Doctrine\Tests\Common\Cache

Code

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