-
Type: Task
-
Resolution: Gone away
-
Priority: Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: Testing
-
None
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.