You are here

public function VoidCacheTest::testShouldAlwaysReturnFalseOnContains in Zircon Profile 8

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

File

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