Mocking API Responses A simple example of mocking HttpClient and testing the responses in dotnet Core 3.1 using xUnit and Moq.