Module unimock::build

source ·
Expand description

Types used for building and defining mock behaviour.

Structs

A matched call pattern, ready for defining multiple response, requiring return values to implement Clone.
A matched call pattern, ready for defining a single response.
Builder for defining a series of cascading call patterns on a specific MockFn.
An exactly quantified response, i.e. the number of times it is expected to respond is an exact number.
Builder for defining how a call pattern gets verified with regards to quantification/counting.
Builder for defining how a call pattern with an explicit return value gets verified with regards to quantification/counting.