### Question:
TracingRedisClusterConnection extends TracingRedisConnection implements RedisClusterConnection { @Override public Integer clusterGetSlotForKey(byte[] key) { return helper.doInScope(CLUSTER_KEYSLOT, () -> connection.clusterGetSlotForKey(key)); } TracingRedisClusterConnection(RedisClusterConnection connection,
      TracingConfiguration tracingConfiguration); @Override RedisClusterServerCommands serverCommands(); @Override Iterable<RedisClusterNode> clusterGetNodes(); @Override Collection<RedisClusterNode> clusterGetSlaves(RedisClusterNode master); @Override Map<RedisClusterNode, Collection<RedisClusterNode>> clusterGetMasterSlaveMap(); @Override Integer clusterGetSlotForKey(byte[] key); @Override RedisClusterNode clusterGetNodeForSlot(int slot); @Override RedisClusterNode clusterGetNodeForKey(byte[] key); @Override ClusterInfo clusterGetClusterInfo(); @Override void clusterAddSlots(RedisClusterNode node, int... slots); @Override void clusterAddSlots(RedisClusterNode node, SlotRange range); @Override Long clusterCountKeysInSlot(int slot); @Override void clusterDeleteSlots(RedisClusterNode node, int... slots); @Override void clusterDeleteSlotsInRange(RedisClusterNode node, SlotRange range); @Override void clusterForget(RedisClusterNode node); @Override void clusterMeet(RedisClusterNode node); @Override void clusterSetSlot(RedisClusterNode node, int slot, AddSlots mode); @Override List<byte[]> clusterGetKeysInSlot(int slot, Integer count); @Override void clusterReplicate(RedisClusterNode master, RedisClusterNode slave); @Override String ping(RedisClusterNode node); @Override void bgReWriteAof(RedisClusterNode node); @Override void bgSave(RedisClusterNode node); @Override Long lastSave(RedisClusterNode node); @Override void save(RedisClusterNode node); @Override Long dbSize(RedisClusterNode node); @Override void flushDb(RedisClusterNode node); @Override void flushAll(RedisClusterNode node); @Override Properties info(RedisClusterNode node); @Override Properties info(RedisClusterNode node, String section); @Override Set<byte[]> keys(RedisClusterNode node, byte[] pattern); @Override Cursor<byte[]> scan(RedisClusterNode node, ScanOptions options); @Override byte[] randomKey(RedisClusterNode node); @Override T execute(String command, byte[] key, Collection<byte[]> args); @Override void shutdown(RedisClusterNode node); @Override Properties getConfig(RedisClusterNode node, String pattern); @Override void setConfig(RedisClusterNode node, String param, String value); @Override void resetConfigStats(RedisClusterNode node); @Override Long time(RedisClusterNode node); @Override List<RedisClientInfo> getClientList(RedisClusterNode node);  }### Answer:
@Test public void invokingClusterGetSlotForKey() { commandCreatesNewSpan(RedisCommand.CLUSTER_KEYSLOT, () -> getConnection().clusterGetSlotForKey("key".getBytes())); verify(mockRedisConnection()).clusterGetSlotForKey("key".getBytes()); }