Exemple #1
0
 /**
  * @group redis-keys
  */
 public function testRandomKey()
 {
     $items = array('hello' => 'world', 'foo' => 'bar');
     $this->client->mset($items);
     $this->assertContains($this->client->randomkey(), array_keys($items));
 }