public void DbConfigConnectionString_WithDefaultDbTypeSetToOracle_ShouldBeCorrectConnectionString(SupportedDatabaseTypes?configDbType, string expectedConnectionString)
        {
            lock (TestCollectionFixtures.LockObj)
            {
                try
                {
                    var configuration = GetConfiguration(configDbType);

                    DefaultDbConfigValues.WithOracleDefaultDbType();
                    DefaultDbConfigValues.WithEmptyAdminUserAndPassword();

                    var dbConfig = configuration.CreateDbConfig();
                    dbConfig.ConnectionString.Should().Be(expectedConnectionString);
                    var useridStr = configDbType == SupportedDatabaseTypes.Postgres ? "username" : "user id";
                    dbConfig.AdminUser.Should().BeNull();
                    dbConfig.AdminPassword.Should().BeNull();
                    dbConfig.AdminConnectionString.ContainsIgnoreCase($"{useridStr}=;").Should().BeTrue();
                    dbConfig.AdminConnectionString.ContainsIgnoreCase("password=;").Should().BeTrue();
                }
                finally
                {
                    DefaultDbConfigValues.WithLibraryDefaultDbType();
                    DefaultDbConfigValues.WithLibraryDefaultAdminUserAndPassword();
                }
            }
        }
        public void DbConfigDbType_WithLibraryDefaultDbType_ShouldBeCorrectDbType(SupportedDatabaseTypes?configDbType, SupportedDatabaseTypes expectedDbType)
        {
            lock (TestCollectionFixtures.LockObj)
            {
                try
                {
                    var configuration = GetConfiguration(configDbType);

                    configuration.CreateDbConfig().DbType.Should().Be(expectedDbType);
                }
                finally
                {
                    DefaultDbConfigValues.WithLibraryDefaultDbType();
                }
            }
        }
        public void DbConfigConnectionString_WithLibraryDefaultDbType_ShouldBeCorrectConnectionString(SupportedDatabaseTypes?configDbType, string expectedConnectionString)
        {
            lock (TestCollectionFixtures.LockObj)
            {
                try
                {
                    var configuration = GetConfiguration(configDbType);

                    configuration.CreateDbConfig().ConnectionString.Should().Be(expectedConnectionString);

                    DefaultDbConfigValues.WithLibraryDefaultDbType();
                    DefaultDbConfigValues.WithLibraryDefaultAdminUserAndPassword();
                }
                finally
                {
                    DefaultDbConfigValues.WithLibraryDefaultDbType();
                    DefaultDbConfigValues.WithLibraryDefaultAdminUserAndPassword();
                }
            }
        }