/** * @test */ public function delegatesCheckAndSetItem() { $this->storage->checkAndSetItem('token', 'key', 'value')->willReturn(true); $return = $this->cache->checkAndSetItem('token', 'key', 'value'); $this->assertTrue($return); }
/** * @test */ public function delegatesCheckAndSetItem() { $this->storage->checkAndSetItem('token', 'key', 'value')->willReturn(true); $return = $this->cache->checkAndSetItem('token', 'key', 'value'); $this->assertTrue($return); }