Test double adapter for use with Mockall
This crate provides
#[double], which can swap in Mock
objects for real objects while in test mode. It’s intended to be used in
tandem with the
However, it is defined in its own crate so that the bulk of Mockall can
remain a dev-dependency, instead of a regular dependency.
Import a mock type in test mode, or a real type otherwise.