--TEST-- MongoDB\Driver\ReadPreference construction (invalid maxStalenessSeconds range) --SKIPIF-- --FILE-- 2147483648]); }, 'MongoDB\Driver\Exception\InvalidArgumentException'), "\n"; ?> ===DONE=== --EXPECT-- OK: Got MongoDB\Driver\Exception\InvalidArgumentException Expected maxStalenessSeconds to be <= 2147483647, 2147483648 given ===DONE===