public void BadExceptionIsNotConsideredTransient()
 {
     var strategy = new DefaultHttpErrorDetectionStrategy();
     Assert.False(strategy.IsTransient(new InvalidOperationException()));
 }
 public void ResponseCodeIsNotConsideredTransient(HttpStatusCode code)
 {
     var strategy = new DefaultHttpErrorDetectionStrategy();
     Assert.False(strategy.IsTransient(new HttpRequestExceptionWithStatus { StatusCode = code }));
 }