{
  "description": "ignoreResultAndError",
  "schemaVersion": "1.3",
  "createEntities": [
    {
      "client": {
        "id": "client0",
        "useMultipleMongoses": true
      }
    },
    {
      "database": {
        "id": "database0",
        "client": "client0",
        "databaseName": "database0Name"
      }
    },
    {
      "collection": {
        "id": "collection0",
        "database": "database0",
        "collectionName": "coll0"
      }
    }
  ],
  "initialData": [
    {
      "collectionName": "coll0",
      "databaseName": "database0Name",
      "documents": []
    }
  ],
  "tests": [
    {
      "description": "operation errors are not ignored if ignoreResultAndError is false",
      "operations": [
        {
          "name": "insertOne",
          "object": "collection0",
          "arguments": {
            "document": {
              "_id": 1
            }
          }
        },
        {
          "name": "insertOne",
          "object": "collection0",
          "arguments": {
            "document": {
              "_id": 1
            }
          },
          "ignoreResultAndError": false
        }
      ]
    },
    {
      "description": "malformed operation fails if ignoreResultAndError is true",
      "operations": [
        {
          "name": "insertOne",
          "object": "collection0",
          "arguments": {
            "foo": "bar"
          },
          "ignoreResultAndError": true
        }
      ]
    }
  ]
}
