public function VoidCacheTest::testShouldAlwaysReturnFalseOnFetch in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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
Namespace
Doctrine\Tests\Common\CacheCode
public function testShouldAlwaysReturnFalseOnFetch() {
$cache = new VoidCache();
$this
->assertFalse($cache
->fetch('foo'));
$this
->assertFalse($cache
->fetch('bar'));
}