FunctionChecks<T> extension

on

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.