/** * @return void */ public function testGetCacheKey() { $cacheKey = 'testKey'; $this->block->setData('cache_key', $cacheKey); $this->assertEquals(AbstractBlock::CACHE_KEY_PREFIX . $cacheKey, $this->block->getCacheKey()); }