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

Mock async MongoIterable

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 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.

      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: