How to test HttpClientFactory with Moq
When working on any .NET application, one of the most common things you'll see is using dependency injection to inject an IHttpClientFactory instance into the constructor of a service. And, of course, you should test that service. To write good unit ...
code4it.hashnode.dev8 min read