Esempio n. 1
0
 /**
  * @group redis-strings
  */
 public function testSetNx()
 {
     $this->assertTrue($this->client->setnx('foo', 'bar'));
     $this->assertFalse($this->client->setnx('foo', 'bar'));
 }