Details
-
Task
-
Resolution: Gone away
-
Trivial - P5
-
None
-
None
-
None
Description
Scenario:
You create a unit test with 5 mock responses, and you want to make sure that each of those responses will be consumed.
Example:
We have collection A and B. We want to asure in unit test, that when there is an insert on collection A, an insert on collection B will be executed. So we need a method NoRemainingMockResponses() which returns true if all mock responses had consumed.