Add matcher helper to match request BSON object

XMLWordPrintableJSON

    • Fully Compatible
    • Repl 2020-11-16, Repl 2020-11-30
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It's common to match the fields of a request, like

      { "find": "oplog.rs" }

      , we need to make that easier. We could integrate query expression matcher to the mock framework. It may look like

      mock.expect(BSON("find" << "oplog.rs"), <response>).times(1);
      

              Assignee:
              Siyuan Zhou
              Reporter:
              Siyuan Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: