src/main/java/com/greghaskins/spectrum/dsl/specification/Specification.java
/**
   * A value that will be calculated fresh at the start of each spec and cannot bleed across specs.
   *
   * <p>
   * Note that {@code eagerLet} is eagerly evaluated: the {@code supplier} is called at the start
   * of the spec, before {@code beforeEach} blocks.
   * </p>
   *
   * @param <T>      The type of value
   * @param supplier {@link ThrowingSupplier} function that either generates the value, or throws a
   *                 {@link Throwable}
   * @return supplier which is refreshed for each spec's context
   */
A value that will be calculated fresh at the start of each spec and cannot bleed across specs.

Note that  eagerLet is eagerly evaluated: the  supplier is called at the start
of the spec, before  beforeEach blocks.

@param       The type of value
@param supplier  ThrowingSupplier function that either generates the value, or throws a
Throwable
@return supplier which is refreshed for each spec's context
A value that will be calculated fresh at the start of each spec and cannot bleed across specs . Note that eagerLet is eagerly evaluated : the supplier is called at the start of the spec before beforeEach blocks . @param The type of value @param supplier ThrowingSupplier function that either generates the value or throws a Throwable @return supplier which is refreshed for each spec ' s context
static <T> Supplier<T> eagerLet(final ThrowingSupplier<T> supplier) {
    EagerLetHook<T> eagerLetHook = new EagerLetHook<>(supplier);
    DeclarationState.instance().addHook(eagerLetHook, AppliesTo.ATOMIC_ONLY, Precedence.LOCAL);
    return eagerLetHook;
  }
static < T > Supplier < T > eagerLet ( final ThrowingSupplier < T > supplier ) { EagerLetHook < T > eagerLetHook = new EagerLetHook < > ( supplier ) ; DeclarationState . instance ( ) . addHook ( eagerLetHook , AppliesTo . ATOMIC_ONLY , Precedence . LOCAL ) ; return eagerLetHook ; }
A value that will be calculated fresh at the start of each spec and cannot bleed across specs.
A value that will be calculated fresh at the start of each spec and cannot bleed across specs .