private void RegisterHearingServices(TestContext context)
 {
     context.WebConfig.VhServices = GetTargetTestEnvironment() == string.Empty ? Options.Create(_configRoot.GetSection("VhServices").Get <AdminWebVhServiceConfig>()).Value
         : Options.Create(_configRoot.GetSection($"Testing.{GetTargetTestEnvironment()}.VhServices").Get <AdminWebVhServiceConfig>()).Value;
     if (context.WebConfig.VhServices == null && GetTargetTestEnvironment() != string.Empty)
     {
         throw new TestSecretsFileMissingException(GetTargetTestEnvironment());
     }
     ConfigurationManager.VerifyConfigValuesSet(context.WebConfig.VhServices);
 }
 private void RegisterAzureSecrets(TestContext context)
 {
     context.WebConfig.AzureAdConfiguration = Options.Create(_configRoot.GetSection("AzureAd").Get <AzureAdConfiguration>()).Value;
     ConfigurationManager.VerifyConfigValuesSet(context.WebConfig.AzureAdConfiguration);
 }
 private void RegisterNotifySettings(TestContext context)
 {
     context.WebConfig.NotifyConfiguration = Options.Create(_configRoot.GetSection("NotifyConfiguration").Get <NotifyConfiguration>()).Value;
     ConfigurationManager.VerifyConfigValuesSet(context.WebConfig.NotifyConfiguration);
 }
 public ConfigHooks(TestContext context)
 {
     _configRoot       = ConfigurationManager.BuildConfig("f99a3fe8-cf72-486a-b90f-b65c27da84ee", "ef943d1a-7506-483b-92b7-dc6e6b41270a");
     context.WebConfig = new AdminWebConfig();
     context.Users     = new List <UserDto>();
 }
 private void RegisterWowzaSettings(TestContext context)
 {
     context.WebConfig.Wowza = Options.Create(_configRoot.GetSection("WowzaConfiguration").Get <WowzaConfiguration>()).Value;
     ConfigurationManager.VerifyConfigValuesSet(context.WebConfig.Wowza);
 }