private SecureRandom newRandom() {
    if (seed == null) {
      return new SecureRandom();
    }
    return new SecureRandom(seed);
  }
Returns the next pseudorandom, uniformly distributed element from the specified values as
indexed by this random number generator's sequence.

@param <T> the type of the elements
@param values the range of values (inclusive) for the pseudorandom.
@return the next pseudorandom, uniformly distributed element from the specified values as
        indexed by this random number generator's sequence.
@throws NullPointerException if values is null.
@throws IllegalArgumentException if values is empty.
geode-junit/src/main/java/org/apache/geode/test/junit/rules/RandomRule.java