public function MongoDBCacheTest::testSaveWithNonUtf8String in Plug 7
File
- lib/
doctrine/ cache/ tests/ Doctrine/ Tests/ Common/ Cache/ MongoDBCacheTest.php, line 34
Class
Namespace
Doctrine\Tests\Common\CacheCode
public function testSaveWithNonUtf8String() {
// Invalid 2-octet sequence
$data = "";
$cache = $this
->_getCacheDriver();
$this
->assertTrue($cache
->save('key', $data));
$this
->assertEquals($data, $cache
->fetch('key'));
}