[βˆ’][src]Crate mockiato

Re-exports

pub use mockiato_codegen::mockable;

Structs

ExpectedCalls

Defines how often a method call is expected to be called.

MethodCallBuilder

Configures an expected method call. This builder is returned from the expect_* methods on a generated mock.

Functions

any

Creates a new ArgumentMatcher that matches any value.

partial_eq

Creates a new ArgumentMatcher that matches against values using PartialEq

partial_eq_owned

Creates a new ArgumentMatcher that matches against values using PartialEq. Supports comparing a reference against an owned value.

unordered_vec_eq

Creates a new ArgumentMatcher that matches Vecs and slices while disregarding the exact order of the elements.