Пример #1
0
 public function testCount()
 {
     $this->rediska->addToSet('test', 123);
     $this->rediska->addToSet('test', 456);
     $this->assertEquals(2, $this->set->count());
     $this->assertEquals(2, count($this->set));
 }