nrxus / faux

Struct mocking library for Rust
https://nrxus.github.io/faux/
MIT License
411 stars 14 forks source link

Mocked instance as an input to a mocked method of the same type doesn't work #14

Open nrxus opened 4 years ago

nrxus commented 4 years ago

A mocked struct cannot have a mocked method that takes another instance as a parameter.