/** * @test */ public function delegatesGetOptions() { $options = ['foo']; $this->storage->getOptions()->willReturn($options); $return = $this->cache->getOptions(); $this->assertSame($options, $return); }