Skip to content

Mocking http requests

Igor Balos edited this page Jun 22, 2022 · 1 revision

While testing, you might need to use your own mocking strategy to skip being charged credits while setting up Postmark library.

You can check out one of the examples how you could mock objects here.

One thing to keep in mind when using mocking adapters is to make sure that they work with http client that Postmark library is using at version which you are using.