DEV Community

loading...

Discussion on: How to test HttpClient with Moq in C#

Collapse
bhaumikd profile image
Bhaumik Dhandhukia

Thanks for the explanation. It helped me create a test which verifies custom headers and apiUrl. Wondering if you can add how to verify req.content would be great.