Update Testing chapter regarding Servlet 4.0 API for mocks

This commit is contained in:
Sam Brannen 2017-09-27 16:09:44 +02:00
parent 2b91d668df
commit 1a8122f97a
1 changed files with 2 additions and 2 deletions

View File

@ -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