Beispiel #1
0
 public function testGetLength()
 {
     $this->rediska->addToSortedSet('test', 123, 1);
     $this->rediska->addToSortedSet('test', 456, 2);
     $this->assertEquals(2, $this->set->getLength());
     $this->assertEquals(2, count($this->set));
 }