When the method which matches this expectation is called, throw the given exception. If there are any actions specified (via the action method), they will not be executed.
See Implementation
When the method which matches this expectation is called, throw the given exception. If there are any actions specified (via the action method), they will not be executed.