(call->ret-val func spec args)
Produces the return value for a mocked call.
Tracks the number of times a specific call is made for a given function and set of parameters fulfilling matcher criteria. Throws an exception when an unexpected call is received.
Produces the return value for a mocked call. Tracks the number of times a specific call is made for a given function and set of parameters fulfilling matcher criteria. Throws an exception when an unexpected call is received.
(matcher-failure-ex-msg func args matcher times-called)
Exception message for call count not matching the expectation.
Exception message for call count not matching the expectation.
(mock->spec mock)
Retrieves the specification for the given mock.
Retrieves the specification for the given mock.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close