Ejemplo n.º 1
0
 public function testIncrementScore()
 {
     $this->rediska->addToSortedSet('test', 123, 1);
     $reply = $this->set->incrementScore('123', 5);
     $this->assertEquals(6, $reply);
     $this->assertEquals(6, $this->set->getScore(123));
 }