public function testPrepend() { $reply = $this->list->prepend(123); $this->assertTrue($reply); $reply = $this->list->prepend(456); $this->assertTrue($reply); $values = $this->rediska->getFromList('test', 1); $this->assertEquals(123, $values); }
public function testPrependWithoutCreate() { $reply = $this->list->prepend(123, false); $this->assertEquals(0, $reply); }