示例#1
0
 /** @test */
 public function itShouldReturnTrueIfItemExists()
 {
     $this->newClient()->write('item.exists', 'exists', time() + 2000);
     parent::itShouldReturnTrueIfItemExists();
 }
示例#2
0
 /** @test */
 public function itShouldReturnTrueIfItemExists()
 {
     list(, $mc) = $this->getClient();
     $mc->method('get')->willReturn(true);
     return parent::itShouldReturnTrueIfItemExists();
 }