Setting Up HttpClient.request.get for Testing

What's the correct way to set up HttpClient.request.get(url) for testing? For example, I might want to mock the returned body, or status, or just fail, etc.
Was this page helpful?