(mock & opts+specs)
Creates an implementation via clojure.core/reify
and
a wrapper to spy on the implementation, forwards all calls
to the implementation and records calsl in spies. Matches the
signature and can be used directly instead of clojure.core/reify
Creates an implementation via `clojure.core/reify` and a wrapper to spy on the implementation, forwards all calls to the implementation and records calsl in spies. Matches the signature and can be used directly instead of `clojure.core/reify`
(spy & args)
Reify the protocols, spies attached to the reified object via metadata. Can accept multiple protocols at once: (spy.protocol/spy Proto1...ProtoN impl)
Reify the protocols, spies attached to the reified object via metadata. Can accept multiple protocols at once: (spy.protocol/spy Proto1...ProtoN impl)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close