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