--TEST-- MongoDB\Driver\Query construction (negative limit conflicts with false singleBatch) --FILE-- -1, 'singleBatch' => false]); }, 'MongoDB\Driver\Exception\InvalidArgumentException'), "\n"; ?> ===DONE=== --EXPECT-- OK: Got MongoDB\Driver\Exception\InvalidArgumentException Negative "limit" option conflicts with false "singleBatch" option ===DONE===