Package org.assertj.core.error.future
Class ShouldHaveCompletedExceptionallyWithin
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.future.ShouldHaveCompletedExceptionallyWithin
- All Implemented Interfaces:
ErrorMessageFactory
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactoryshouldHaveCompletedExceptionallyWithin(Future<?> actual, long timeout, TimeUnit unit) static ErrorMessageFactoryshouldHaveCompletedExceptionallyWithin(Future<?> actual, Duration timeout) Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldHaveCompletedExceptionallyWithin
public static ErrorMessageFactory shouldHaveCompletedExceptionallyWithin(Future<?> actual, Duration timeout) -
shouldHaveCompletedExceptionallyWithin
public static ErrorMessageFactory shouldHaveCompletedExceptionallyWithin(Future<?> actual, long timeout, TimeUnit unit)
-