returnsNormally top-level constant

Matcher const returnsNormally

A matcher that matches a function call against no exception.

The function will be called once. Any exceptions will be silently swallowed. The value passed to expect() should be a reference to the function. Note that the function cannot take arguments; to handle this a wrapper will have to be created.


const Matcher returnsNormally = _ReturnsNormally();