protected override void Arrange()
 {
     settings = new RetryPolicyConfigurationSettings()
                    {
                        //DefaultRetryStrategy = "defaultPolicy",
                        //DefaultSqlConnectionRetryStrategy = "defaultSqlConnectionPolicy",
                        //DefaultSqlCommandRetryStrategy = "defaultSqlCommandPolicy",
                        //DefaultAzureServiceBusRetryStrategy = "defaultAzureServiceBusStoragePolicy",
                        //DefaultAzureCachingRetryStrategy = "defaultAzureCachingStoragePolicy",
                        //DefaultAzureStorageRetryStrategy = "defaultAzureStoragePolicy"
                    };
 }
 protected override void Arrange()
 {
     this.settings = new RetryPolicyConfigurationSettings()
     {
         //DefaultRetryStrategy = "defaultPolicy",
         //DefaultSqlConnectionRetryStrategy = "defaultSqlConnectionPolicy",
         //DefaultSqlCommandRetryStrategy = "defaultSqlCommandPolicy",
         //DefaultAzureStorageRetryStrategy = "defaultAzureStoragePolicy",
         //DefaultAzureServiceBusRetryStrategy = "defaultAzureServiceBusStoragePolicy",
         //DefaultAzureCachingRetryStrategy = "defaultAzureCachingStoragePolicy",
         RetryStrategies = 
         {
             new ExponentialBackoffData()
             {
                 Name = "first",
                 MaxRetryCount = 1,
                 MinBackoff = TimeSpan.FromMilliseconds(2),
                 MaxBackoff = TimeSpan.FromMilliseconds(3),
                 DeltaBackoff = TimeSpan.FromMilliseconds(4)
             },
             new IncrementalData()
             {
                 Name = "second",
                 MaxRetryCount = 1,
                 InitialInterval = TimeSpan.FromMilliseconds(2),
                 RetryIncrement = TimeSpan.FromMilliseconds(3)
             },
             new FixedIntervalData()
             {
                 Name = "third",
                 MaxRetryCount = 1,
                 RetryInterval = TimeSpan.FromMilliseconds(2)
             },  
             new CustomRetryStrategyData(
                 "Test custom retry strategy",
                 "Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.TestSupport.TestRetryStrategy, Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.TestSupport, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null")
                 {
                     Name = "fourth",
                     FirstFastRetry = false,
                     Attributes = { { "customProperty", 10.ToString() } }
                 }
             }
     };
 }
 protected override void Arrange()
 {
     this.settings = RetryPolicyConfigurationSettings.GetRetryPolicySettings(new SystemConfigurationSource());
 }