public function test_BRPop() { $this->assertEquals('brpop key1 50', $this->redis->brpop('key1', 50)); $this->assertEquals('brpop key1 key2 50', $this->redis->brpop('key1', 'key2', 50)); $this->assertEquals('brpop key1 key2 key3 50', $this->redis->brpop(array('key1', 'key2', 'key3'), 50)); }