Crate simulacrum_mock [] [src]

Core functionality for creating mock objects with Simulacrum.

Re-exports

pub use self::mock::Expectations;
pub use self::method::Method;

Modules

constraint
expectation
method

This is the API that you'll call in your tests when using your Mock objects.

mock

Mock object internals. You can use this API to construct mock objects manually.

Type Definitions

ExpectationId

The keys used in a HandleBox. A typedef for u32.

MethodName