提交 1a8122f9 编写于 作者: S Sam Brannen

Update Testing chapter regarding Servlet 4.0 API for mocks

上级 2b91d668
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册