Top Description Fields Constructors Methods
org.assertj.core.api

public Class FutureAssert<RESULT>

extends AbstractFutureAssert<FutureAssert<RESULT>, Future<RESULT>, RESULT>
Class Inheritance
Type Parameters
<RESULT>
the type contained within the Future
Imports
java.util.concurrent.Future

Assertion methods for Future.

To create an instance of this class, invoke Assertions#assertThat(Future).

Author
Ruben Dijkstra

Field Summary

Inherited from org.assertj.core.api.AbstractFutureAssert:
futures

Constructor Summary

AccessConstructor and Description
protected
FutureAssert(Future<RESULT> actual)

Method Summary

Inherited from org.assertj.core.api.AbstractFutureAssert:
failsWithinfailsWithinisCancelledisDoneisNotCancelledisNotDonesucceedsWithinsucceedsWithinsucceedsWithinsucceedsWithin

Constructor Detail

FutureAssertback to summary
protected FutureAssert(Future<RESULT> actual)