public function testGetEntityCacheRegionAccess() { $this->assertInstanceOf('Doctrine\\ORM\\Cache\\Region', $this->cache->getEntityCacheRegion(State::CLASSNAME)); $this->assertNull($this->cache->getEntityCacheRegion(self::NON_CACHEABLE_ENTITY)); }
protected function getEntityRegion($className) { return $this->cache->getEntityCacheRegion($className)->getName(); }