mockiato 0.9.1

A strict, yet friendly mocking library for Rust 2018
1
2
3
4
5
6
7
8
9
10
#![allow(clippy::blacklisted_name)]

use mockiato::mockable;

#[mockable]
trait IsFriendly {
    fn is_friendly(&self, _foo: &str) -> bool {
        true
    }
}