/** * @test */ public function delegatesGetMetadata() { $this->storage->getMetadata('cacheKey')->willReturn(true); $return = $this->cache->getMetadata('cacheKey'); $this->assertTrue($return); }