--TEST-- MongoDB\Driver\Manager::__construct(): check if server is live --FILE-- 1]); try { $manager->executeCommand("test", $command); } catch (\MongoDB\Driver\Exception\ConnectionException $e) { echo "Could not connect to MongoDB server: ", $e->getMessage(), "\n"; } ?> ===DONE=== --EXPECT-- ===DONE===