FunctionExpector extension
Expectations for Function.
Properties
Methods
-
returnsNormally(
) → Future< void> - Checks that the execution of the tested function returns normally.
-
throwsA<
T> () → Future< Expector< T> > -
Checks that the execution of the tested function throws an error of type
T
.