Expand description
Examples of Mockall’s generated code
Modules
- A module full of foreign C functions.
- Mock version of the
ffi
module - Mock version of the
my_module
module - Mock this entire module
Structs
- Mock of a struct
- Mock of a basic trait with several kinds of method.
Traits
- A trait implemented by a Struct we want to mock
- Mock of a basic trait with several kinds of method.