Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2773

Unit testing MongoIterable in async driver

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      I am looking for ways to unit test MongoIterable. Is there a way I could mock response back from mongo before any action(forEach() etc) is invoked on it via iterator ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            rohit.jain Rohit Jain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: