<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:58:02 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-2777] Mock async MongoIterable</title>
                <link>https://jira.mongodb.org/browse/JAVA-2777</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;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.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="493251">JAVA-2777</key>
            <summary>Mock async MongoIterable</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rohit.jain">Rohit Jain</reporter>
                        <labels>
                    </labels>
                <created>Tue, 6 Feb 2018 16:41:45 +0000</created>
                <updated>Wed, 11 Sep 2019 19:14:16 +0000</updated>
                            <resolved>Tue, 6 Feb 2018 16:47:51 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1796894" author="ross@10gen.com" created="Tue, 6 Feb 2018 16:47:51 +0000"  >&lt;p&gt;Closing as its a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2773&quot; title=&quot;Unit testing MongoIterable in async driver&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2773&quot;&gt;&lt;del&gt;JAVA-2773&lt;/del&gt;&lt;/a&gt;. Will review and respond there.&lt;/p&gt;</comment>
                            <comment id="1796883" author="rohit.jain" created="Tue, 6 Feb 2018 16:43:01 +0000"  >&lt;p&gt;This is a clone of &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2773&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/JAVA-2773&lt;/a&gt;, created another one to bump up the priority on it.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hth8qv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>