@Override
    public V put(K key, V value, Duration ttl) {
        return get(putAsync(key, value, ttl));
    }
@Test
    public void testReplaceOldValueFail() {
        RMapCacheNative<SimpleKey, SimpleValue> map = redisson.getMapCacheNative("simple");
        map.put(new SimpleKey("1"), new SimpleValue("2"));

        boolean res = map.replace(new SimpleKey("1"), new SimpleValue("43"), new SimpleValue("31"));
        Assertions.assertFalse(res);

        SimpleValue val1 = map.get(new SimpleKey("1"));
        Assertions.assertEquals("2", val1.getValue());
        map.destroy();
    }