public String getCodec() {
        return codec;
    }
@Test
    public void shouldUseDefaultCodec() {
        Config config = new Config();
        Codec codec = new Kryo5Codec();
        config.setCodec(codec);
        config.useSingleServer()
                .setAddress(redisson.getConfig().useSingleServer().getAddress());

        RedissonClient redissonClient = Redisson.create(config);
        RBucket<Object> b1 = redissonClient.getBucket("b1");
        b1.set(new MyObject());
        RSet<Object> s1 = redissonClient.getSet("s1");
        Assertions.assertTrue(s1.add(b1));
        Assertions.assertTrue(codec == b1.getCodec());

        RedissonClient redissonClient1 = Redisson.create(config);

        RSet<RBucket> s2 = redissonClient1.getSet("s1");
        RBucket<MyObject> b2 = s2.iterator(1).next();
        Assertions.assertTrue(codec == b2.getCodec());
        Assertions.assertTrue(b2.get() instanceof MyObject);
        redissonClient.shutdown();
        redissonClient1.shutdown();
    }