示例#1
0
文件: PredisTest.php 项目: gmo/cache
 /**
  * @group redis-strings
  */
 public function testSetNx()
 {
     $this->assertTrue($this->client->setnx('foo', 'bar'));
     $this->assertFalse($this->client->setnx('foo', 'bar'));
 }