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