//package com.liquidnet.service.example.test;
//
//
//import org.junit.Test;
//import org.junit.runner.RunWith;
//import org.redisson.api.RBucket;
//import org.redisson.api.RedissonClient;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.test.context.SpringBootTest;
//import org.springframework.stereotype.Component;
//import org.springframework.test.context.junit4.SpringRunner;
//
///**
// * @author AnJiabin <jiabin.an@lightnet.io>
// * @version V1.0
// * @Description: TODO
// * @class: RedissonTest
// * @Package com.liquidnet.service.example.test
// * @Copyright: LightNet @ Copyright (c) 2020
// * @date 2020/9/11 14:01
// */
//@SpringBootTest
//@RunWith(SpringRunner.class)
//@Component
//public class RedissonTest {
//
//    @Autowired
//    private RedissonClient redissonClient;
//
//    @Test
//    public void set() {
//        // 设置字符串
//        RBucket<String> keyObj = redissonClient.getBucket("k1");
//        keyObj.set("v1236");
//
//        System.out.println("redissss=== "+redissonClient.getBucket("k1"));
//    }
//}
