source: class TracingRedisConnectionTest {
  
    @Autowired MockTracer tracer;
    @Autowired RedisConnectionFactory connectionFactory;
    @Autowired RedisConnection mockRedisConnection;
  
    @Test
    public void invokingPTtlCreatesNewSpan() {
  
target:     commandCreatesNewSpan(RedisCommand.PTTL, () -> getConnection().pTtl("key".getBytes()));
      verify(mockRedisConnection()).pTtl("key".getBytes());
  
      commandCreatesNewSpan(RedisCommand.PTTL,
          () -> getConnection().pTtl("key".getBytes(), TimeUnit.SECONDS));
      verify(mockRedisConnection()).pTtl("key".getBytes(), TimeUnit.SECONDS);
    }
  
  }