Exemple #1
0
 /**
  * @group redis-hashes
  */
 public function testHashMultipleSet()
 {
     $expected = array('hello' => 'world', 'red' => 'blue');
     $this->assertEquals('OK', $this->client->hmset('foo', $expected));
     $this->assertEquals($expected, $this->client->hgetall('foo'));
 }