Jan 20, 2023
The point is that unless you need to change the format from what's coming back from your endpoint, you literally do not need to test any of that. You can assume that you're getting what the endpoint returns. Your endpoint should have its own tests and is not your concern.