public function CacheTest::testFalseCastedValues in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/CacheTest.php \Doctrine\Tests\Common\Cache\CacheTest::testFalseCastedValues()
Check to see that, even if the user saves a value that can be interpreted as false, the cache adapter will still recognize its existence there.
@dataProvider falseCastedValuesProvider
2 calls to CacheTest::testFalseCastedValues()
- MemcachedCacheTest::testFalseCastedValues in vendor/
doctrine/ cache/ tests/ Doctrine/ Tests/ Common/ Cache/ MemcachedCacheTest.php - @dataProvider falseCastedValuesProvider
- PredisCacheTest::testFalseCastedValues in vendor/
doctrine/ cache/ tests/ Doctrine/ Tests/ Common/ Cache/ PredisCacheTest.php - @dataProvider falseCastedValuesProvider
2 methods override CacheTest::testFalseCastedValues()
- MemcachedCacheTest::testFalseCastedValues in vendor/
doctrine/ cache/ tests/ Doctrine/ Tests/ Common/ Cache/ MemcachedCacheTest.php - @dataProvider falseCastedValuesProvider
- PredisCacheTest::testFalseCastedValues in vendor/
doctrine/ cache/ tests/ Doctrine/ Tests/ Common/ Cache/ PredisCacheTest.php - @dataProvider falseCastedValuesProvider
File
- vendor/
doctrine/ cache/ tests/ Doctrine/ Tests/ Common/ Cache/ CacheTest.php, line 285
Class
Namespace
Doctrine\Tests\Common\CacheCode
public function testFalseCastedValues($value) {
$cache = $this
->_getCacheDriver();
$this
->assertTrue($cache
->save('key', $value));
$this
->assertTrue($cache
->contains('key'));
$this
->assertEquals($value, $cache
->fetch('key'));
}