Question
a.
MockHttpServletRequest
b.
MockHttpServletResponse
c.
MockHttpSession
d.
All of the mentioned
Posted under Java Spring Framework
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Spring supports web controller testing by providing Servlet API:-
Similar Questions
Discover Related MCQs
Q. Base class to access the managed application context through the inherited getApplicationContext() method.
View solution
Q. The TestContext framework provides two test execution listeners related to context management:-
View solution
Q. Interface which can provide access to the managed application context through the protected field applicationContext:-
View solution
Q. In JUnit 4, you can simply run your test with the test runner SpringJUnit4ClassRunner.
View solution
Q. Method to indicate that the application context is dirty.
View solution
Q. In JUnit4, to explicitly specify a Spring-specific test runner for running your test.
View solution
Q. Annotation for SpringJUnit4ClassRunner:-
View solution
Q. This class implements the ApplicationContextAware interface, so you can get access to the managed application context:-
View solution
Q. AbstractJUnit38SpringContext class also implements the ApplicationContextAware interface.
View solution
Q. Spring JUnit 3 legacy support in releases prior to 2.5, your test class can extend the:-
View solution
Q. AbstractDependencyInjectionSpringContextTests supports dependency injection.
View solution
Q. Test fixtures injected from the managed application context by annotating:-
View solution
Q. TestContext support class AbstractJUnit4SpringContextTests, you can also have test fixtures injected from the managed application context.
View solution
Q. Starting from Spring 2.5, the TestContext framework provides a test execution listener related to transaction management:-
View solution
Q. Annotation for TransactionalTestExecutionListener:-
View solution
Q. DispatcherServtlet dispatches portlet requests to appropriate handlers that handle the requests.
View solution
Q. Maps each request to a handler through one or more handler mapping beans.
View solution
Q. In portlets, there are URLs:-
View solution
Q. When a user triggers a render URL, the portlet container will ask all the portlets in the same page to handle a render request to render its view.
View solution
Q. When a user triggers an action URL in a portlet, the portlet container will first ask the target portlet to handle an action request.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Spring Framework? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!