@Override
    public String randomKey() {
        return commandExecutor.get(randomKeyAsync());
    }
@Test
    public void testRandomKey() {
        RBucket<String> bucket = redisson.getBucket("test1");
        bucket.set("someValue1");

        RBucket<String> bucket2 = redisson.getBucket("test2");
        bucket2.set("someValue2");

        assertThat(redisson.getKeys().randomKey()).isIn("test1", "test2");
        redisson.getKeys().delete("test1");
        Assertions.assertEquals("test2", redisson.getKeys().randomKey());
        redisson.getKeys().flushdb();
        Assertions.assertNull(redisson.getKeys().randomKey());
    }