AssetManagerTest\Cache\ZendCacheAdapterTest::testGetMethodCallsZendCacheGetItem PHP Méthode

testGetMethodCallsZendCacheGetItem() public méthode

    public function testGetMethodCallsZendCacheGetItem()
    {
        $mockZendCache = $this->getMockBuilder(Memory::class)->disableOriginalConstructor()->getMock();
        $mockZendCache->expects($this->once())->method('getItem');
        $adapter = new ZendCacheAdapter($mockZendCache);
        $adapter->get('SomeKey');
    }