public void Setup()
        {
            var dbName     = "testDB";
            var replicaSet = "centaurusTest";
            var dbPort     = 27001;

            MongoDBServerHelper.RunMongoDBServers(new int[] { dbPort }, replicaSet);

            var extensionsPath = ExtensionConfigGenerator.Generate(dbPort, dbName, replicaSet, banPeriod, boostFactor);

            var settings = new AlphaSettings();

            settings.ExtensionsConfigFilePath = Path.GetFullPath(extensionsPath);
            settings.ConnectionString         = $"mongodb://localhost:{dbPort}/{dbName}?replicaSet={replicaSet}";
            settings.HorizonUrl        = "https://horizon-testnet.stellar.org";
            settings.NetworkPassphrase = "Test SDF Network ; September 2015";
            settings.CWD    = "AppData";
            settings.Secret = TestEnvironment.AlphaKeyPair.SecretSeed;

            settings.Build();

            GlobalInitHelper.Setup(GlobalInitHelper.GetPredefinedClients(), GlobalInitHelper.GetPredefinedAuditors(), settings, new MongoStorage());
        }
 public void TearDown()
 {
     MongoDBServerHelper.Stop();
     Thread.Sleep(1000);
 }