TracingRedisConnectionFactory implements RedisConnectionFactory,
    ReactiveRedisConnectionFactory { @Override public DataAccessException translateExceptionIfPossible(RuntimeException e) { return delegate.translateExceptionIfPossible(e); } 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 delegatesCallToTranslateExceptionIfPossible() { RuntimeException e = mock(RuntimeException.class); delegate.translateExceptionIfPossible(e); verify(delegate).translateExceptionIfPossible(e); }