macro_rules! meta_mock {
() => { ... };
($fun:ident) => { ... };
($fun:ident, $data:expr) => { ... };
($fun:ident, $data:expr, $match_fn:expr) => { ... };
}
Expand description
Create metadata mocks easily by passing in expected functions, return data and with_f checks