1 2 3 4 5 6 7 8 9 10 11
mod foo { use mockiato::mockable; #[mockable] pub(super) trait Bar {} } #[test] fn default_works() { let _ = foo::BarMock::default(); }