public function testRPop() { $this->_client->lPush('foo', 'bar'); $this->assertSame('bar', $this->_client->rPop('foo')); $this->assertNull($this->_client->rPop('foo')); }