{
    "runOn": [
        {
            "minServerVersion": "4.3.1"
        }
    ],
    "collection_name": "test_find_allowdiskuse",
    "tests": [
        {
            "description": "Find does not send allowDiskuse when value is not specified",
            "operations": [
                {
                    "object": "collection",
                    "name": "find",
                    "arguments": {
                        "filter": {}
                    }
                }
            ],
            "expectations": [
                {
                    "command_started_event": {
                        "command": {
                            "find": "test_find_allowdiskuse",
                            "allowDiskUse": null
                        }
                    }
                }
            ]
        },
        {
            "description": "Find sends allowDiskuse false when false is specified",
            "operations": [
                {
                    "object": "collection",
                    "name": "find",
                    "arguments": {
                        "filter": {},
                        "allowDiskUse": false
                    }
                }
            ],
            "expectations": [
                {
                    "command_started_event": {
                        "command": {
                            "find": "test_find_allowdiskuse",
                            "allowDiskUse": false
                        }
                    }
                }
            ]
        },
        {
            "description": "Find sends allowDiskUse true when true is specified",
            "operations": [
                {
                    "object": "collection",
                    "name": "find",
                    "arguments": {
                        "filter": {},
                        "allowDiskUse": true
                    }
                }
            ],
            "expectations": [
                {
                    "command_started_event": {
                        "command": {
                            "find": "test_find_allowdiskuse",
                            "allowDiskUse": true
                        }
                    }
                }
            ]
        }
    ]
}