data:
  - { _id: 1, x: 11 }

tests:
  -
    description: "ReplaceOne prohibits atomic modifiers"
    operations:
      -
        object: collection
        name: replaceOne
        arguments:
          filter: { _id: 1 }
          # Only the first field is tested, as the spec permits drivers to only
          # check that and rely on the server to check subsequent fields.
          replacement: { $set: { x: 22 }}
        error: true
    expectations: []
    outcome:
      collection:
        data:
          - { _id: 1, x: 11 }
