Exemple #1
0
 /**
  * @group redis-strings
  */
 public function testGetSet()
 {
     $this->assertNull($this->client->getset('foo', 'bar'));
     $this->assertSame('bar', $this->client->getset('foo', 'derp'));
     $this->assertSame('derp', $this->client->get('foo'));
 }