code: public static ConditionFactory waitAtMost(long value, TimeUnit unit) {
          return new ConditionFactory(null, defaultWaitConstraint.withMaxWaitTime(new Duration(value, unit)), defaultPollInterval, defaultPollDelay,
                  defaultCatchUncaughtExceptions, defaultExceptionIgnorer, defaultConditionEvaluationListener,
                  defaultExecutorLifecycle);
      }
docs: An alternative to using {@link #await()} if you want to specify a timeout
  directly.
  
  @param value the value
  @param unit  the unit
  @return the condition factory