Http Automock - mock requests in tests automatically
– github.com - submitted by Michael Ruf
Call `Http::automock()` in a test to record real HTTP responses on the first run and replay them on every run after that. No manual `Http::fake()` fixtures needed. Think of it as snapshot testing, but for your API inputs rather than outputs.
Read more [github.com]