You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?