Skip to content

Commit 1a8122f

Browse files
committed
Update Testing chapter regarding Servlet 4.0 API for mocks
1 parent 2b91d66 commit 1a8122f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docs/asciidoc/testing.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ mock objects, which are useful for testing web contexts, controllers, and filter
7878
mock objects are targeted at usage with Spring's Web MVC framework and are generally more
7979
convenient to use than dynamic mock objects such as http://www.easymock.org[EasyMock] or
8080
alternative Servlet API mock objects such as http://www.mockobjects.com[MockObjects]. Since
81-
Spring Framework 4.0, the set of mocks in the `org.springframework.mock.web` package is
82-
based on the Servlet 3.0 API.
81+
Spring Framework 5.0, the set of mocks in the `org.springframework.mock.web` package is
82+
based on the Servlet 4.0 API.
8383

8484
For thorough integration testing of your Spring MVC and REST ``Controller``s in
8585
conjunction with your `WebApplicationContext` configuration for Spring MVC, see the

0 commit comments

Comments
 (0)