@@ -27,7 +27,7 @@ public RetryDelegatingHandlerTests()
2727 }
2828
2929 [ Fact ]
30- public async Task Invoke_ShouldReturnHttpResponseAndNotRetryWhenSuccessful ( )
30+ public async Task ShouldReturnHttpResponseAndNotRetryWhenSuccessful ( )
3131 {
3232 innerHandler . AddBehaviour ( innerHandler . OK ) ;
3333
@@ -38,7 +38,7 @@ public async Task Invoke_ShouldReturnHttpResponseAndNotRetryWhenSuccessful()
3838 }
3939
4040 [ Fact ]
41- public async Task Invoke_ShouldReturnHttpResponseAndNotRetryWhenUnauthorised ( )
41+ public async Task ShouldReturnHttpResponseAndNotRetryWhenUnauthorised ( )
4242 {
4343 innerHandler . AddBehaviour ( innerHandler . AuthenticationError ) ;
4444
@@ -49,7 +49,7 @@ public async Task Invoke_ShouldReturnHttpResponseAndNotRetryWhenUnauthorised()
4949 }
5050
5151 [ Fact ]
52- public async Task Invoke_ShouldReturnErrorWithoutRetryWhenErrorIsNotTransient ( )
52+ public async Task ShouldReturnErrorWithoutRetryWhenErrorIsNotTransient ( )
5353 {
5454 innerHandler . AddBehaviour ( innerHandler . NonTransientException ) ;
5555
@@ -59,7 +59,7 @@ public async Task Invoke_ShouldReturnErrorWithoutRetryWhenErrorIsNotTransient()
5959 }
6060
6161 [ Fact ]
62- public async Task Invoke_ShouldReturnErrorWithoutRetryWhen500ErrorStatusIsNotTransient ( )
62+ public async Task ShouldReturnErrorWithoutRetryWhen500ErrorStatusIsNotTransient ( )
6363 {
6464 innerHandler . AddBehaviour ( innerHandler . HttpVersionNotSupported ) ;
6565
@@ -70,7 +70,7 @@ public async Task Invoke_ShouldReturnErrorWithoutRetryWhen500ErrorStatusIsNotTra
7070 }
7171
7272 [ Fact ]
73- public async Task Invoke_ShouldReturnErrorWithoutRetryWhen501ErrorStatus ( )
73+ public async Task ShouldReturnErrorWithoutRetryWhen501ErrorStatus ( )
7474 {
7575 innerHandler . AddBehaviour ( innerHandler . NotImplemented ) ;
7676
@@ -81,7 +81,7 @@ public async Task Invoke_ShouldReturnErrorWithoutRetryWhen501ErrorStatus()
8181 }
8282
8383 [ Fact ]
84- public async Task Invoke_ShouldRetryOnceWhenFailedOnFirstAttemptThenSuccessful ( )
84+ public async Task ShouldRetryOnceWhenFailedOnFirstAttemptThenSuccessful ( )
8585 {
8686 innerHandler . AddBehaviour ( innerHandler . TaskCancelled ) ;
8787 innerHandler . AddBehaviour ( innerHandler . OK ) ;
@@ -93,7 +93,7 @@ public async Task Invoke_ShouldRetryOnceWhenFailedOnFirstAttemptThenSuccessful()
9393 }
9494
9595 [ Fact ]
96- public async Task Invoke_ShouldRetryTheExpectedAmountOfTimesAndReturnTimeoutExceptionWhenTasksCancelled ( )
96+ public async Task ShouldRetryTheExpectedAmountOfTimesAndReturnTimeoutExceptionWhenTasksCancelled ( )
9797 {
9898 innerHandler . AddBehaviour ( innerHandler . TaskCancelled ) ;
9999 innerHandler . AddBehaviour ( innerHandler . TaskCancelled ) ;
@@ -104,7 +104,7 @@ public async Task Invoke_ShouldRetryTheExpectedAmountOfTimesAndReturnTimeoutExce
104104 }
105105
106106 [ Fact ]
107- public async Task Invoke_ShouldRetryTheExpectedAmountOfTimesAndReturnExceptionWhenInternalServerErrorsEncountered ( )
107+ public async Task ShouldRetryTheExpectedAmountOfTimesAndReturnExceptionWhenInternalServerErrorsEncountered ( )
108108 {
109109 innerHandler . AddBehaviour ( innerHandler . InternalServerError ) ;
110110 innerHandler . AddBehaviour ( innerHandler . ServiceUnavailable ) ;
0 commit comments