/// <summary>
        ///
        /// </summary>
        protected IntegrationTestBase()
        {
            RedisCacheProvider.InternalSetConnectionMultiplexer(ConnectionMultiplexer);
            RedisCacheProvider.InternalSetOptions(CreateTestProviderOptions());

            InitializeDatabasePaths();

            using (var connection = new SqlConnection(masterConnectionString))
            {
                connection.Open();
                //DeleteDatabaseIfExists(connection);
                CreateDatabase(connection);
            }

            if (configuration == null)
            {
                //configuration = Fluently.Configure()
                //    .Database(
                //        MsSqlConfiguration.MsSql2008.ConnectionString(connectionString)
                //    )
                //    .Mappings(m => m.FluentMappings.Add(typeof(PersonMapping)))
                //    .ExposeConfiguration(cfg => cfg.SetProperty(NHibernate.Cfg.Environment.GenerateStatistics, "true"))
                //    .Cache(c => c.UseQueryCache().
                //        UseSecondLevelCache().
                //        ProviderClass<RedisCacheProvider>())
                //    .BuildConfiguration();
            }

            new SchemaExport(configuration).Create(false, true);
        }