public function testToArray() { $this->rediska->setToHash('test', array('a' => 1, 'b' => 2)); $test = $this->hash->toArray(); $this->assertEquals(array('a' => 1, 'b' => 2), $test); }
public function getUlist($ulistKey) { $MSet = new Rediska_Key_Hash($ulistKey); $MSet->setRediska($this->Rediska); return $MSet->toArray(); }