Details
-
Task
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
-
None
Description
I am looking for ways to mock response from MongoIterable in order to unit test code. Is there a way I could mock response back from mongo before any action(forEach() etc) is invoked on MongoIterable.