View Source Nuntiux.Mocker (Nuntiux v1.0.1)
A process that mocks another one.
Summary
Types
@type expect_fun() :: ([{:message, term()}] -> expect_fun_result())
@type expect_id() :: reference() | expect_name()
@type expect_name() :: atom()
@type expects() :: %{required(expect_id()) => expect_fun()}
@type history() :: [event()]