/**
  * Test inserting an item into a list
  */
 public function testLinsert()
 {
     $this->redis->del('testLinsert');
     $this->redis->rpush('testLinsert', 'a');
     $this->redis->rpush('testLinsert', 'c');
     $insertResult = $this->redis->linsert('testLinsert', 'BEFORE', 'c', 'b');
     $this->assertInternalType('int', $insertResult);
     $this->assertEquals(3, $insertResult);
     $this->assertEquals(4, $this->redis->linsert('testLinsert', 'AFTER', 'c', 'd'));
     $this->assertEquals('a', $this->redis->lpop('testLinsert'));
     $this->assertEquals('b', $this->redis->lpop('testLinsert'));
     $this->assertEquals('c', $this->redis->lpop('testLinsert'));
     $this->assertEquals('d', $this->redis->lpop('testLinsert'));
     $this->assertEquals(0, $this->redis->llen('testLinsert'));
 }