Method Throw(Exception)
Throws the given exception — simulates a failing downstream system.
public MockResponse Throw(Exception exception)
Throws the given exception — simulates a failing downstream system.
public MockResponse Throw(Exception exception)