Function mockall::examples::mock_ffi::checkpoint
source · pub fn checkpoint()
👎Deprecated since 0.9.0: Using automock directly on an extern block is deprecated. Instead, wrap the extern block in a module, and automock that, like #[automock] mod ffi { extern “C” { fn foo … } }
Expand description
Verify that all current expectations for every function in this module are satisfied and clear them.