Moq.Contrib.HttpClient icon indicating copy to clipboard operation
Moq.Contrib.HttpClient copied to clipboard

A set of extension methods for mocking HttpClient and IHttpClientFactory with Moq.

Results 3 Moq.Contrib.HttpClient issues
Sort by recently updated
recently updated
newest added

Is there a way to assert on the content of the request? I want to validate that an external library using the mocked client is sending the correct info to...

If a Https calls `Content.ReadAsStreamAsync()` to get the Content and deserialize that Value, the returned object only contains null-values. I created a Unit Test for this Issue: ``` [Fact] public...

This package has a. .NET Denial of Service Vulnerability. > Microsoft is releasing this security advisory to provide information about a vulnerability in System.Text.Json 6.0.x and 8.0.x. This advisory also...