Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature Request: clear recorded calls on all mocks #153
The current API comes with a handy function to unstub all mocks:
I am aware this functionality is rarely required. So is
Here is an example:
During test execution mocks reside in a (stateful) DI-Container. If not cleared after test execution, state gets carried over to the next test.