public static Predicate<VmConfiguration> hasJavaVersion(Predicate<JavaVersion> predicate) {
    return config -> predicate.test(config.javaVersion());
  }
Returns a predicate that applies {@code predicate} to a configuration's Java version.

@param predicate a Java version predicate
@return a predicate that applies {@code predicate} to a configuration's Java version
geode-junit/src/main/java/org/apache/geode/test/version/VmConfigurations.java