TracingRedisConnectionFactory implements RedisConnectionFactory,
    ReactiveRedisConnectionFactory { @Override public RedisSentinelConnection getSentinelConnection() { return new TracingRedisSentinelConnection(delegate.getSentinelConnection(), tracingConfiguration); } TracingRedisConnectionFactory(RedisConnectionFactory delegate,
      TracingConfiguration tracingConfiguration); @Override RedisConnection getConnection(); @Override RedisClusterConnection getClusterConnection(); @Override boolean getConvertPipelineAndTxResults(); @Override RedisSentinelConnection getSentinelConnection(); @Override DataAccessException translateExceptionIfPossible(RuntimeException e); @Override ReactiveRedisConnection getReactiveConnection(); @Override ReactiveRedisClusterConnection getReactiveClusterConnection();  }
@Test public void delegatesCallToGetSentinelConnection() { RedisSentinelConnection connection = connectionFactory.getSentinelConnection(); verify(delegate).getSentinelConnection(); assertTrue(connection instanceof TracingRedisSentinelConnection); }