@Test
public void invokingPTtlCreatesNewSpan() {

  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);
}