Moxinet helps you mock the internet at the HTTP layer without sacrificing parallel testing.
Moxinet
Supports building a custom mock.
A struct to define a response to return from the mock server.
Creates a mocking server where service-specific mocks can be added