Mocker (syringe v1.5.0)

Link to this section Summary

Link to this section Functions

Link to this function

at_least(actual_count, expected_count)

Link to this function

at_most(actual_count, expect_count)

Link to this function

between(actual_count, range)

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.

Link to this function

intercept(module, func, args, messages)

Link to this function

less_than(actual_count, expect_count)

Link to this function

mock(module, list)

Link to this function

mock(module, pid, opts \\ nil)

Link to this function

more_than(actual_count, expected_count)

Link to this function

was_called(arg)

Link to this function

was_called(module, func, args \\ [])