Closed as not planned
Description
I think this leads to very weird situations where you register a Mock client in your test environment. Then suddenly, pages are breaking because "null cannot be foreached". Looking at the code I see that the client responded with 200 OK
but the response is null
. Only then realising that the client is a Mock client.
Wouldn't it make more sense if the Client would always return an 501 Not Implemented
or throws a NoMockSpecifiedException
?
Metadata
Metadata
Assignees
Labels
No labels