@Test
public void invokingZRevRangeByScoreCreatesNewSpan() {

  commandCreatesNewSpan(RedisCommand.ZREVRANGEBYSCORE,
      () -> getConnection().zRevRangeByScore("key".getBytes(), 0D, 0D));
  verify(mockRedisConnection()).zRevRangeByScore("key".getBytes(), 0D, 0D);
  commandCreatesNewSpan(RedisCommand.ZREVRANGEBYSCORE,
      () -> getConnection().zRevRangeByScore("key".getBytes(),
          RedisZSetCommands.Range.range()));
  verify(mockRedisConnection())
      .zRevRangeByScore(eq("key".getBytes()), any(RedisZSetCommands.Range.class));
  commandCreatesNewSpan(RedisCommand.ZREVRANGEBYSCORE,
      () -> getConnection().zRevRangeByScore("key".getBytes(), 0D, 0D, 0L, 0L));
  verify(mockRedisConnection()).zRevRangeByScore("key".getBytes(), 0D, 0D, 0L, 0L);
  commandCreatesNewSpan(RedisCommand.ZREVRANGEBYSCORE,
      () -> getConnection().zRevRangeByScore("key".getBytes(), RedisZSetCommands.Range.range(),
          RedisZSetCommands.Limit.limit()));
  verify(mockRedisConnection())
      .zRevRangeByScore(eq("key".getBytes()), any(RedisZSetCommands.Range.class),
          any(RedisZSetCommands.Limit.class));
}