Ejemplo n.º 1
0
 public function testGetCount()
 {
     $this->redis->lpush('test', [1, 5, 3]);
     $queue = new UniqueQueue($this->redis, 'test');
     $this->assertSame(3, $queue->getCount());
     $this->assertKeys(['test']);
 }