--TEST-- MongoDB\Driver\WriteConcern construction (invalid w type) --FILE-- ===DONE=== --EXPECTF-- OK: Got MongoDB\Driver\Exception\InvalidArgumentException Expected w to be integer or string, %r(double|float)%r given OK: Got MongoDB\Driver\Exception\InvalidArgumentException Expected w to be integer or string, bool%S given OK: Got MongoDB\Driver\Exception\InvalidArgumentException Expected w to be integer or string, array given OK: Got MongoDB\Driver\Exception\InvalidArgumentException Expected w to be integer or string, stdClass given OK: Got MongoDB\Driver\Exception\InvalidArgumentException Expected w to be integer or string, %r(null|NULL)%r given ===DONE===