publicfunctiontestCreateConnection(string $dsn, string $expectedClass) { if(!class_exists($expectedClass)){ thrownewSkippedTestSuiteError(sprintf('The "%s" class is required.', $expectedClass)); } if(!getenv('REDIS_CLUSTER_HOSTS')){ thrownewSkippedTestSuiteError('REDIS_CLUSTER_HOSTS env var is not defined.'); }