Mocking HttpClient
· 7 min read
Hello again. I recently had a task to unit test a service I wrote. I was using .NET's HttpClient to do calls to an API I was consuming, all was good until I had unit test my work.
Hello again. I recently had a task to unit test a service I wrote. I was using .NET's HttpClient to do calls to an API I was consuming, all was good until I had unit test my work.