public function testInsertAfter() { $this->rediska->appendToList('test', 'aaa'); $this->rediska->appendToList('test', 'bbb'); $reply = $this->list->insertAfter('aaa', 'ccc'); $this->assertEquals(3, $reply); $reply = $this->rediska->getList('test'); $this->assertEquals(array('aaa', 'ccc', 'bbb'), $reply); }