public function ClassMetadataFactoryTest::testGetCacheDriver in Plug 7
File
- lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ ClassMetadataFactoryTest.php, line 26
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testGetCacheDriver() {
$this
->assertNull($this->cmf
->getCacheDriver());
$cache = new ArrayCache();
$this->cmf
->setCacheDriver($cache);
$this
->assertSame($cache, $this->cmf
->getCacheDriver());
}