Jamm\Memory\Tests\TestRedisServer::test_LPush PHP Метод

test_LPush() публичный Метод

public test_LPush ( )
    public function test_LPush()
    {
        $this->assertEquals('lpush key value', $this->redis->LPush('key', 'value'));
        $this->assertEquals('lpush key value v1 v2', $this->redis->LPush('key', 'value', 'v1', 'v2'));
        $this->assertEquals('lpush key value v1 v2', $this->redis->LPush('key', array('value', 'v1', 'v2')));
    }
TestRedisServer