diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/AbstractMockServerSpec.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/AbstractMockServerSpec.java index bc087733d96..59c03049e6d 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/AbstractMockServerSpec.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/AbstractMockServerSpec.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import java.util.function.UnaryOperator; diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/ApplicationContextSpec.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/ApplicationContextSpec.java index d39490b6b7e..06acff77e70 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/ApplicationContextSpec.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/ApplicationContextSpec.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import org.springframework.context.ApplicationContext; diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/DefaultControllerSpec.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/DefaultControllerSpec.java index 4542fa81fdf..f5f0b709f4e 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/DefaultControllerSpec.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/DefaultControllerSpec.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import java.util.ArrayList; diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/DefaultWebTestClientBuilder.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/DefaultWebTestClientBuilder.java index 66d49080fac..e7320d6aa3e 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/DefaultWebTestClientBuilder.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/DefaultWebTestClientBuilder.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import java.time.Duration; diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/EntityExchangeResult.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/EntityExchangeResult.java index 1a7abd2894b..767c89394ce 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/EntityExchangeResult.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/EntityExchangeResult.java @@ -13,16 +13,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; /** * {@code ExchangeResult} sub-class that exposes the response body fully * extracted to a representation of type {@code }. * - * @param the response body type - * * @author Rossen Stoyanchev * @since 5.0 + * @param the response body type * @see FluxExchangeResult */ public class EntityExchangeResult extends ExchangeResult { diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/ExchangeMutatorWebFilter.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/ExchangeMutatorWebFilter.java index 5c589615dc7..148ceafec54 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/ExchangeMutatorWebFilter.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/ExchangeMutatorWebFilter.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import java.util.ArrayList; diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/ExchangeResult.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/ExchangeResult.java index ac3880bd89e..6c6ec5f42c3 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/ExchangeResult.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/ExchangeResult.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import java.net.URI; @@ -45,7 +46,6 @@ import org.springframework.util.MultiValueMap; * * @author Rossen Stoyanchev * @since 5.0 - * * @see EntityExchangeResult * @see FluxExchangeResult */ diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/FluxExchangeResult.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/FluxExchangeResult.java index f57fde83f87..a9ce59647e3 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/FluxExchangeResult.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/FluxExchangeResult.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import java.time.Duration; diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/HeaderAssertions.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/HeaderAssertions.java index 0204abc7262..4088c6a7416 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/HeaderAssertions.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/HeaderAssertions.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import java.util.Arrays; diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/HttpHandlerConnector.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/HttpHandlerConnector.java index a6b500159bc..9ed618a2ddd 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/HttpHandlerConnector.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/HttpHandlerConnector.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import java.net.URI; diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/RouterFunctionSpec.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/RouterFunctionSpec.java index ca5a2ef2ee1..5c7dd4214c0 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/RouterFunctionSpec.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/RouterFunctionSpec.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import org.springframework.context.ApplicationContext; @@ -48,7 +49,6 @@ public class RouterFunctionSpec extends AbstractMockServerSpec new DispatcherHandler()); diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/StatusAssertions.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/StatusAssertions.java index d8d03052485..375bd0f928c 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/StatusAssertions.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/StatusAssertions.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import org.springframework.http.HttpStatus; @@ -26,7 +27,6 @@ import static org.springframework.test.util.AssertionErrors.assertEquals; * @since 5.0 * @see WebTestClient.ResponseSpec#expectStatus() */ -@SuppressWarnings("unused") public class StatusAssertions { private final ExchangeResult exchangeResult; diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/WebTestClient.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/WebTestClient.java index 7b96a22ef20..a4af65b1d63 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/WebTestClient.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/WebTestClient.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import java.net.URI; diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapClientHttpRequest.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapClientHttpRequest.java index b65c0c75a42..5abac89629f 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapClientHttpRequest.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapClientHttpRequest.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import org.reactivestreams.Publisher; diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapClientHttpResponse.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapClientHttpResponse.java index f9ea21fe1ce..63213ed1b68 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapClientHttpResponse.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapClientHttpResponse.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import reactor.core.publisher.Flux; @@ -25,7 +26,7 @@ import org.springframework.http.client.reactive.ClientHttpResponse; import org.springframework.http.client.reactive.ClientHttpResponseDecorator; /** - * Client HTTP response decorator that interceptrs and saves the content read + * Client HTTP response decorator that intercepts and saves the content read * from the server. * * @author Rossen Stoyanchev diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapConnector.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapConnector.java index a2b94a958d8..1e47d4ffb19 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapConnector.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/WiretapConnector.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import java.net.URI; @@ -37,7 +38,6 @@ import org.springframework.util.Assert; * * @author Rossen Stoyanchev * @since 5.0 - * * @see HttpHandlerConnector */ class WiretapConnector implements ClientHttpConnector { diff --git a/spring-test/src/test/java/org/springframework/test/web/reactive/server/DefaultControllerSpecTests.java b/spring-test/src/test/java/org/springframework/test/web/reactive/server/DefaultControllerSpecTests.java index 6ef64078e96..d267367f03b 100644 --- a/spring-test/src/test/java/org/springframework/test/web/reactive/server/DefaultControllerSpecTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/reactive/server/DefaultControllerSpecTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import org.junit.Test; @@ -25,7 +26,9 @@ import org.springframework.web.bind.annotation.RestController; /** * Unit tests for {@link DefaultControllerSpec}. + * * @author Rossen Stoyanchev + * @since 5.0 */ public class DefaultControllerSpecTests { diff --git a/spring-test/src/test/java/org/springframework/test/web/reactive/server/HeaderAssertionsTests.java b/spring-test/src/test/java/org/springframework/test/web/reactive/server/HeaderAssertionsTests.java index 7e16e29a3a9..9b5889bacd3 100644 --- a/spring-test/src/test/java/org/springframework/test/web/reactive/server/HeaderAssertionsTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/reactive/server/HeaderAssertionsTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import java.net.URI; @@ -27,17 +28,17 @@ import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.mock.http.client.reactive.MockClientHttpRequest; import org.springframework.mock.http.client.reactive.MockClientHttpResponse; -import org.springframework.web.reactive.function.client.ClientResponse; import static junit.framework.TestCase.assertNotNull; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.when; /** * Unit tests for {@link HeaderAssertions}. + * * @author Rossen Stoyanchev + * @since 5.0 */ public class HeaderAssertionsTests { diff --git a/spring-test/src/test/java/org/springframework/test/web/reactive/server/HttpHandlerConnectorTests.java b/spring-test/src/test/java/org/springframework/test/web/reactive/server/HttpHandlerConnectorTests.java index 3649227c641..d84214d8aa5 100644 --- a/spring-test/src/test/java/org/springframework/test/web/reactive/server/HttpHandlerConnectorTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/reactive/server/HttpHandlerConnectorTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import java.net.URI; @@ -42,7 +43,9 @@ import static org.junit.Assert.assertEquals; /** * Unit tests for {@link HttpHandlerConnector}. + * * @author Rossen Stoyanchev + * @since 5.0 */ public class HttpHandlerConnectorTests { diff --git a/spring-test/src/test/java/org/springframework/test/web/reactive/server/StatusAssertionTests.java b/spring-test/src/test/java/org/springframework/test/web/reactive/server/StatusAssertionTests.java index 6da97daba21..84abce99d13 100644 --- a/spring-test/src/test/java/org/springframework/test/web/reactive/server/StatusAssertionTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/reactive/server/StatusAssertionTests.java @@ -13,30 +13,29 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server; import java.net.URI; import org.junit.Test; -import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; import org.springframework.mock.http.client.reactive.MockClientHttpRequest; import org.springframework.mock.http.client.reactive.MockClientHttpResponse; -import org.springframework.web.reactive.function.client.ClientResponse; import static org.junit.Assert.fail; import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.when; /** * Unit tests for {@link StatusAssertions}. + * * @author Rossen Stoyanchev + * @since 5.0 */ public class StatusAssertionTests { - @Test public void isEqualTo() throws Exception { diff --git a/spring-test/src/test/java/org/springframework/test/web/reactive/server/WebTestClientConnectorTests.java b/spring-test/src/test/java/org/springframework/test/web/reactive/server/WebTestClientConnectorTests.java index 608ddb96d77..9fb9580773f 100644 --- a/spring-test/src/test/java/org/springframework/test/web/reactive/server/WebTestClientConnectorTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/reactive/server/WebTestClientConnectorTests.java @@ -39,10 +39,12 @@ import static org.junit.Assert.assertNotNull; * Unit tests for {@link WiretapConnector}. * * @author Rossen Stoyanchev + * @since 5.0 */ public class WebTestClientConnectorTests { @Test + @SuppressWarnings("deprecation") public void captureAndClaim() throws Exception { ClientHttpRequest request = new MockClientHttpRequest(HttpMethod.GET, "/test"); diff --git a/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/ErrorTests.java b/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/ErrorTests.java index d8a2f86c238..823b7d2057c 100644 --- a/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/ErrorTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/ErrorTests.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server.samples; -import org.junit.Before; import org.junit.Test; import org.springframework.http.HttpStatus; @@ -27,17 +27,11 @@ import org.springframework.web.bind.annotation.RestController; * Tests with error status codes or error conditions. * * @author Rossen Stoyanchev + * @since 5.0 */ -@SuppressWarnings("unused") public class ErrorTests { - private WebTestClient client; - - - @Before - public void setUp() throws Exception { - this.client = WebTestClient.bindToController(new TestController()).build(); - } + private final WebTestClient client = WebTestClient.bindToController(new TestController()).build(); @Test diff --git a/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/HeaderTests.java b/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/HeaderTests.java index 9f901d83fc0..dcc96501579 100644 --- a/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/HeaderTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/HeaderTests.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server.samples; -import org.junit.Before; import org.junit.Test; import org.springframework.http.ResponseEntity; @@ -29,20 +29,14 @@ import org.springframework.web.bind.annotation.RestController; * Tests with custom headers. * * @author Rossen Stoyanchev + * @since 5.0 */ -@SuppressWarnings("unused") public class HeaderTests { - private WebTestClient client; - - - @Before - public void setUp() throws Exception { - this.client = WebTestClient - .bindToController(new TestController()) - .configureClient().baseUrl("/header") - .build(); - } + private final WebTestClient client = WebTestClient + .bindToController(new TestController()) + .configureClient().baseUrl("/header") + .build(); @Test diff --git a/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/ResponseEntityTests.java b/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/ResponseEntityTests.java index 009e6103944..683da4120f4 100644 --- a/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/ResponseEntityTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/ResponseEntityTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server.samples; import java.net.URI; @@ -23,7 +24,6 @@ import java.util.Map; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; -import org.junit.Before; import org.junit.Test; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -48,17 +48,11 @@ import static org.springframework.http.MediaType.TEXT_EVENT_STREAM; * Annotated controllers accepting and returning typed Objects. * * @author Rossen Stoyanchev + * @since 5.0 */ -@SuppressWarnings("unused") public class ResponseEntityTests { - private WebTestClient client; - - - @Before - public void setUp() throws Exception { - this.client = WebTestClient.bindToController(new PersonController()).build(); - } + private final WebTestClient client = WebTestClient.bindToController(new PersonController()).build(); @Test @@ -152,6 +146,7 @@ public class ResponseEntityTests { } @GetMapping(produces = "text/event-stream") + @SuppressWarnings("deprecation") Flux getPersonStream() { return Flux.intervalMillis(100).onBackpressureBuffer(10).map(index -> new Person("N" + index)); } diff --git a/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/ApplicationContextTests.java b/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/ApplicationContextTests.java index daa4a9b36c5..a1f855740c1 100644 --- a/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/ApplicationContextTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/ApplicationContextTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server.samples.bind; import java.security.Principal; @@ -38,8 +39,8 @@ import static org.mockito.Mockito.when; * Binding to server infrastructure declared in a Spring ApplicationContext. * * @author Rossen Stoyanchev + * @since 5.0 */ -@SuppressWarnings("unused") public class ApplicationContextTests { private WebTestClient client; diff --git a/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/ControllerTests.java b/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/ControllerTests.java index 6c4407c7445..4c30e3ec839 100644 --- a/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/ControllerTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/ControllerTests.java @@ -13,12 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server.samples.bind; import java.security.Principal; import java.util.function.UnaryOperator; -import org.junit.Before; import org.junit.Test; import reactor.core.publisher.Mono; @@ -34,19 +34,15 @@ import static org.mockito.Mockito.when; * Bind to annotated controllers. * * @author Rossen Stoyanchev + * @since 5.0 */ -@SuppressWarnings("unused") public class ControllerTests { - private WebTestClient client; - + private final WebTestClient client = WebTestClient + .bindToController(new TestController()) + .exchangeMutator(identitySetup("Pablo")) + .build(); - @Before - public void setUp() throws Exception { - this.client = WebTestClient.bindToController(new TestController()) - .exchangeMutator(identitySetup("Pablo")) - .build(); - } private UnaryOperator identitySetup(String userName) { return exchange -> { diff --git a/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/HttpServerTests.java b/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/HttpServerTests.java index e91ae8c0d0f..376b6ebf24a 100644 --- a/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/HttpServerTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/HttpServerTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server.samples.bind; import org.junit.After; @@ -33,6 +34,7 @@ import static org.springframework.web.reactive.function.server.RouterFunctions.r * Bind to a running server, making actual requests over a socket. * * @author Rossen Stoyanchev + * @since 5.0 */ public class HttpServerTests { diff --git a/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/RouterFunctionTests.java b/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/RouterFunctionTests.java index 3f06f33fd17..c5884034ae2 100644 --- a/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/RouterFunctionTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/RouterFunctionTests.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.test.web.reactive.server.samples.bind; import org.junit.Before; @@ -30,6 +31,7 @@ import static org.springframework.web.reactive.function.server.RouterFunctions.r * Bind to a {@link RouterFunction} and functional endpoints. * * @author Rossen Stoyanchev + * @since 5.0 */ public class RouterFunctionTests {