FutureChecks<T> extension

on

Properties

doesNotComplete → void

Available on Subject<Future<T>>, provided by the FutureChecks extension

Expects that the Future never completes as a value or an error.
no setter

Methods

completes([Condition<T>? completionCondition]) → Future<Subject<T>>

Available on Subject<Future<T>>, provided by the FutureChecks extension

Expects that the Future completes to a value without throwing.
throws<E extends Object>([Condition<E>? errorCondition]) → Future<Subject<E>>

Available on Subject<Future<T>>, provided by the FutureChecks extension

Expects that the Future completes as an error.