ngMock
Configures the mock implementation of $exceptionHandler to rethrow or to log errors passed to the $exceptionHandler.
$exceptionHandler