@Test
public void testRenameSet() {

  byte[] oldkey = new byte[] { 65 };
  byte[] newkey = new byte[] { 66 };
  Set<byte[]> value = new HashSet<>();
  when(jedisCluster.type(any(byte[].class))).thenReturn("set");
  when(jedisCluster.smembers(oldkey)).thenReturn(value);
  rf.rename(oldkey, newkey);
  verify(jedisCluster, never()).rename(oldkey, newkey);
  verify(jedisCluster).type(oldkey);
  verify(jedisCluster).smembers(oldkey);
  verify(jedisCluster).del(oldkey);
}