public function setUp()
 {
     $this->waiter = $this->prophesize(Waiter::class);
     $this->storage = $this->prophesize(StorageInterface::class);
     $this->cache = new DelayedCache($this->storage->reveal());
     $this->cache->setWaiter($this->waiter->reveal());
     $this->delayedKey = DelayedCache::UNDER_CONSTRUCTION_PREFIX . 'foo';
 }
 /**
  * @test
  */
 public function canGetStorage()
 {
     $this->assertSame($this->storage->reveal(), $this->cache->getStorage());
 }