pub fn mock<I>(clauses: I) -> Unimock where
I: IntoIterator<Item = Clause>,
Expand description
Construct a unimock instance that works like a mock or a stub, from a set of Clausees.
Every call hitting the instance must be declared in advance as an input clause, or else panic will ensue.