I have a flow containing an http request to an external service. I want to add an MUnit test to make sure the logic functions when the external service is down and returns a 500. I mock the http request and return a 500, but the flow does not raise an exception since I am testing outside of APIKit.
Is there any way to force a mocked component to raise a specific exception?