Interface Assertions.TimeoutFailureFactory<T extends java.lang.Throwable>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T createTimeoutFailure​(java.time.Duration timeout, java.util.function.Supplier<java.lang.String> messageSupplier, java.lang.Throwable cause)
      Create a failure for the given timeout, message, and cause.
    • Method Detail

      • createTimeoutFailure

        T createTimeoutFailure​(java.time.Duration timeout,
                               java.util.function.Supplier<java.lang.String> messageSupplier,
                               java.lang.Throwable cause)
        Create a failure for the given timeout, message, and cause.
        Returns:
        timeout failure; never null