@Test
public void invokingZRemRangeByScoreCreatesNewSpan() {

  commandCreatesNewSpan(RedisCommand.ZREMRANGEBYSCORE,
      () -> getConnection().zRemRangeByScore("key".getBytes(), 0D, 0D));
  verify(mockRedisConnection()).zRemRangeByScore("key".getBytes(), 0D, 0D);
  commandCreatesNewSpan(RedisCommand.ZREMRANGEBYSCORE,
      () -> getConnection().zRemRangeByScore("key".getBytes(),
          RedisZSetCommands.Range.range()));
  verify(mockRedisConnection())
      .zRemRangeByScore(eq("key".getBytes()), any(RedisZSetCommands.Range.class));
}