From fe03654e83f9af54e9b496a76cdc9e2be4edfae8 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 15 Nov 2022 14:31:43 +0100 Subject: [PATCH] Update testing chapter regarding Servlet 6.0 baseline for mocks --- framework-docs/src/docs/asciidoc/testing.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework-docs/src/docs/asciidoc/testing.adoc b/framework-docs/src/docs/asciidoc/testing.adoc index 2f52225a9e..faac60e890 100644 --- a/framework-docs/src/docs/asciidoc/testing.adoc +++ b/framework-docs/src/docs/asciidoc/testing.adoc @@ -95,8 +95,8 @@ mock objects are targeted at usage with Spring's Web MVC framework and are gener convenient to use than dynamic mock objects (such as https://easymock.org/[EasyMock]) or alternative Servlet API mock objects (such as http://www.mockobjects.com[MockObjects]). -TIP: Since Spring Framework 5.0, the mock objects in `org.springframework.mock.web` are -based on the Servlet 4.0 API. +TIP: Since Spring Framework 6.0, the mock objects in `org.springframework.mock.web` are +based on the Servlet 6.0 API. The Spring MVC Test framework builds on the mock Servlet API objects to provide an integration testing framework for Spring MVC. See <>.