public function VoidCacheTest::testShouldAlwaysReturnTrueOnSaveButNotStoreAnything 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::testShouldAlwaysReturnTrueOnSaveButNotStoreAnything()
File
- vendor/
doctrine/ cache/ tests/ Doctrine/ Tests/ Common/ Cache/ VoidCacheTest.php, line 28
Class
Namespace
Doctrine\Tests\Common\CacheCode
public function testShouldAlwaysReturnTrueOnSaveButNotStoreAnything() {
$cache = new VoidCache();
$this
->assertTrue($cache
->save('foo', 'fooVal'));
$this
->assertFalse($cache
->contains('foo'));
$this
->assertFalse($cache
->fetch('foo'));
}