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