src/main/java/com/greghaskins/spectrum/internal/junit/TimeoutWrapper.java
/**
   * Apply a timeout expressed as a duration to a builder of a {@link FailOnTimeout} object.
   * @param builder to modify
   * @param timeout duration of the timeout
   * @return the builder input - for fluent use.
   */
Apply a timeout expressed as a duration to a builder of a  FailOnTimeout object.
@param builder to modify
@param timeout duration of the timeout
@return the builder input - for fluent use.
Apply a timeout expressed as a duration to a builder of a FailOnTimeout object . @param builder to modify @param timeout duration of the timeout @return the builder input - for fluent use .
static FailOnTimeout.Builder withAppliedTimeout(FailOnTimeout.Builder builder, Duration timeout) {
    builder.withTimeout(timeout.toNanos(), TimeUnit.NANOSECONDS);
    return builder;
  }
static FailOnTimeout . Builder withAppliedTimeout ( FailOnTimeout . Builder builder , Duration timeout ) { builder . withTimeout ( timeout . toNanos ( ) , TimeUnit . NANOSECONDS ) ; return builder ; }
Apply a timeout expressed as a duration to a builder of a {@link FailOnTimeout} object.
Apply a timeout expressed as a duration to a builder of a { @link FailOnTimeout } object .