/** * Verify that one and only one attempt to load cache is done even in case of cache absence */ public function testGetFromCacheNothing() { $this->cache->expects($this->once())->method('load'); $this->assertFalse($this->object->getFromCache('type', 'file.ext', 'frontend', 'magento_theme', 'en_US', 'Magento_Module')); $this->assertFalse($this->object->getFromCache('type', 'file.ext', 'frontend', 'magento_theme', 'en_US', 'Magento_Module')); }