public function VoidCacheTest::testShouldAlwaysReturnTrueOnSaveButNotStoreAnything in Plug 7
File
- lib/
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'));
}