diff --git a/spring-reactive-modules/spring-reactive-client-2/src/test/java/com/baeldung/webclientretrievevsexchange/RetrieveAndExchangeIntegrationTest.java b/spring-reactive-modules/spring-reactive-client-2/src/test/java/com/baeldung/webclientretrievevsexchange/RetrieveAndExchangeIntegrationTest.java index 874949d5a3..8343f63a37 100644 --- a/spring-reactive-modules/spring-reactive-client-2/src/test/java/com/baeldung/webclientretrievevsexchange/RetrieveAndExchangeIntegrationTest.java +++ b/spring-reactive-modules/spring-reactive-client-2/src/test/java/com/baeldung/webclientretrievevsexchange/RetrieveAndExchangeIntegrationTest.java @@ -12,7 +12,7 @@ class RetrieveAndExchangeIntegrationTest { private WebTestClient webTestClient; @Test - void givenFirstUser_whenRetrieveMethodIsUsed_returnOk() throws Exception { + void givenFirstUser_whenRetrieveMethodIsUsed_thenReturnOk() throws Exception { this.webTestClient.get() .uri("/user/1") .exchange() @@ -21,7 +21,7 @@ class RetrieveAndExchangeIntegrationTest { } @Test - void givenFirstUser_whenRetreiveMethodIsUsedWithOnStatusHandler_returnNotFound() throws Exception { + void givenFirstUser_whenRetreiveMethodIsUsedWithOnStatusHandler_thenReturnNotFound() throws Exception { this.webTestClient.get() .uri("/user-status/100") .exchange() @@ -30,7 +30,7 @@ class RetrieveAndExchangeIntegrationTest { } @Test - void givenFirstUser_whenExchangeMonoMethodIsUsed_returnOk() throws Exception { + void givenFirstUser_whenExchangeMonoMethodIsUsed_thenReturnOk() throws Exception { this.webTestClient.get() .uri("/user/exchange-mono/1") .exchange() @@ -39,7 +39,7 @@ class RetrieveAndExchangeIntegrationTest { } @Test - void givenAllUsers_whenRetrieveMethodIsUsed_returnOk() throws Exception { + void givenAllUsers_whenRetrieveMethodIsUsed_thenReturnOk() throws Exception { this.webTestClient.get() .uri("/users") .exchange() @@ -48,7 +48,7 @@ class RetrieveAndExchangeIntegrationTest { } @Test - void givenSingleUser_whenResponseBodyIsAltered_returnOk() throws Exception { + void givenSingleUser_whenResponseBodyIsAltered_thenReturnOk() throws Exception { this.webTestClient.get() .uri("/user/exchange-alter/1") .exchange() @@ -57,7 +57,7 @@ class RetrieveAndExchangeIntegrationTest { } @Test - void givenAllUsers_whenExchangeFluxMethodIsUsed_returnOk() throws Exception { + void givenAllUsers_whenExchangeFluxMethodIsUsed_thenReturnOk() throws Exception { this.webTestClient.get() .uri("/user-exchange-flux") .exchange()