Mocking with HttpClient.