public void Normalization_WorksAsExpected(string name) { string normalizedName = KeyVaultSecretsRepository.Normalize(name); string test = KeyVaultSecretsRepository.Denormalize(normalizedName); Assert.Equal(test, name); }
private string GetSecretName(string secretName) { string[] array = secretName.Split("--"); return(KeyVaultSecretsRepository.Denormalize(array[array.Length - 1])); }