Exemplo n.º 1
0
 public function testHscan()
 {
     $this->credis->hmset('hash', array('name' => 'Jack', 'age' => 33));
     $iterator = null;
     $result = $this->credis->hscan($iterator, 'hash', 'n*');
     $this->assertEquals($iterator, 0);
     $this->assertEquals($result, ['name' => 'Jack']);
 }