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
If a request is configured, but a response is never configured, a NullReferenceException is thrown when SendAsync is called on the HTTP client. This is confusing to the user and takes some time to unravel what went wrong.
mockHttp.Expect("/foo").WithQueryString("bar","bat").WithQueryString("fizz","buzz");// forgot to configure responsehttpClient.GetAsync("/foo");// throws NullReferenceException.
The text was updated successfully, but these errors were encountered:
If a request is configured, but a response is never configured, a NullReferenceException is thrown when SendAsync is called on the HTTP client. This is confusing to the user and takes some time to unravel what went wrong.
The text was updated successfully, but these errors were encountered: