程序包 org.springframework.mock.web.portlet

A comprehensive set of Portlet API 2.0 mock objects, targeted at usage with Spring's Web MVC framework. Useful for testing web contexts and controllers.

More convenient to use than dynamic mock objects (EasyMock) or existing Portlet API mock objects.