private long toMillis(double seconds) {
    return (long) (seconds * 1000);
  }
Alias for {@link #within(double, groovy.lang.Closure)}.
spock-core/src/main/java/spock/util/concurrent/PollingConditions.java