From 1a8122f97a3f94e929ac1901ed1fa92de86dab27 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 27 Sep 2017 16:09:44 +0200 Subject: [PATCH] Update Testing chapter regarding Servlet 4.0 API for mocks --- src/docs/asciidoc/testing.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/asciidoc/testing.adoc b/src/docs/asciidoc/testing.adoc index f64d3b0b6a..eda40ba7fc 100644 --- a/src/docs/asciidoc/testing.adoc +++ b/src/docs/asciidoc/testing.adoc @@ -78,8 +78,8 @@ mock objects, which are useful for testing web contexts, controllers, and filter mock objects are targeted at usage with Spring's Web MVC framework and are generally more convenient to use than dynamic mock objects such as http://www.easymock.org[EasyMock] or alternative Servlet API mock objects such as http://www.mockobjects.com[MockObjects]. Since -Spring Framework 4.0, the set of mocks in the `org.springframework.mock.web` package is -based on the Servlet 3.0 API. +Spring Framework 5.0, the set of mocks in the `org.springframework.mock.web` package is +based on the Servlet 4.0 API. For thorough integration testing of your Spring MVC and REST ``Controller``s in conjunction with your `WebApplicationContext` configuration for Spring MVC, see the