use ExpiringStoreTestTrait;
public static function setupBeforeClass(): void
{ if (!
class_exists(\MongoDB\Client::
class)) { throw new SkippedTestSuiteError('The mongodb/mongodb package is required.'
);
} $client = self::
getMongoClient();
try { $client->
listDatabases();
} catch (ConnectionTimeoutException
$e) { throw new SkippedTestSuiteError('MongoDB server not found.'
);
} } private static function getMongoClient(): Client
{ return new Client('mongodb://'.
getenv('MONGODB_HOST'
));
} protected function getClockDelay(): int
{