FunctionChecks<T> extension
- on
-
- Subject<
T Function()>
- Subject<
Methods
-
returnsNormally(
) → Subject< T> -
Available on Subject<
Expects that the function returns without throwing.T Function()> , provided by the FunctionChecks extension -
throws<
E> () → Subject< E> -
Available on Subject<
Expects that a function throws synchronously when it is called.T Function()> , provided by the FunctionChecks extension