public function testLTrim() { $this->_client->lPush('foo', 'bar1'); $this->_client->lPush('foo', 'bar2'); $this->_client->lPush('foo', 'bar3'); $this->_client->lTrim('foo', 1, 1); $this->assertSame(array('bar2'), $this->_client->lRange('foo')); }