Function mock_me::mock [] [src]

pub fn mock(attr: TokenStream, item: TokenStream) -> TokenStream

The mock macro is used mock a concrete function that is not desired during unit tests. Its signature contains the identifier that is being mocked, with the function that will replace the mocked function within quotes, as well as the mocked function signature.