Cyclium. Test. FakeOutputAdapter
(Cyclium v0.1.5)
Copy Markdown
In-memory fake output adapter for testing. Records deliveries and returns configurable responses.
Usage
setup do
{:ok, _} = Cyclium.Test.FakeOutputAdapter.start_link()
:ok
end
Summary
Functions
Returns a specification to start this module under a supervisor.
Return all recorded deliveries as [{type, payload, ctx}].
Reset deliveries and response.
Set deliver to return an error.
Set the response returned by deliver/3.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Return all recorded deliveries as [{type, payload, ctx}].
Reset deliveries and response.
Set deliver to return an error.
Set the response returned by deliver/3.