CodeSandwich / Mocktopus

Mocking framework for Rust
MIT License
233 stars 20 forks source link

Add way to verify all mocks were called #44

Closed czipperz closed 5 years ago

czipperz commented 5 years ago

I do not believe there is a way to verify that all mocks were actually called. Currently the maximum bound is automatically enforced, but the minimum bound is not possible.

czipperz commented 5 years ago

Ok, I thought that the way mocks worked was the same as in other libraries I've used. That is, with the expect interface. This obviously isn't how this works. This doesn't really make much sense with this context.