ExpectationSetup.throws

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.

class ExpectationSetup
throws
(
Exception e
)

Meta