[JAVA-2777] Mock async MongoIterable Created: 06/Feb/18  Updated: 11/Sep/19  Resolved: 06/Feb/18

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Rohit Jain Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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.



 Comments   
Comment by Ross Lawley [ 06/Feb/18 ]

Closing as its a duplicate of JAVA-2773. Will review and respond there.

Comment by Rohit Jain [ 06/Feb/18 ]

This is a clone of https://jira.mongodb.org/browse/JAVA-2773, created another one to bump up the priority on it.

Generated at Thu Feb 08 08:58:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.