public RetryDelegatingHandlerTests()
        {
            var reliabilitySettings = new ReliabilitySettings(1, TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(10),
                                                              TimeSpan.FromSeconds(1));

            innerHandler = new RetryTestBehaviourDelegatingHandler();
            client       = new HttpClient(new RetryDelegatingHandler(innerHandler, reliabilitySettings))
            {
                BaseAddress = new Uri("http://localhost")
            };
        }
 public RetryDelegatingHandlerTests()
 {
     reliabilitySettings = new ReliabilitySettings
     {
         RetryCount = 1
     };
     innerHandler = new RetryTestBehaviourDelegatingHandler();
     client       = new HttpClient(new RetryDelegatingHandler(innerHandler, reliabilitySettings))
     {
         BaseAddress = new Uri("http://localhost")
     };
 }