Broadcom-VMware
2V0-72.22PSE · Question #75
Refer to the exhibit. What statement is true about @DirtiesContext?
Sign in or unlock 2V0-72.22PSE to reveal the answer and full explanation for question #75. The question stem and answer options stay visible for context.
Testing
Question
Refer to the exhibit. What statement is true about @DirtiesContext?
Exhibit
Options
- AIt will close the existing cached ApplicationContext and recreate a new one before the test
- BIt will close the existing cached ApplicationContext and recreate a new one after the test method.
- CIt will keep the existing cached ApplicationContext, all changes to Spring managed beans will be
- DIt will recreate only the Spring managed beans that are modified inside the test method.
Unlock 2V0-72.22PSE to see the answer
You've previewed enough free 2V0-72.22PSE questions. Unlock 2V0-72.22PSE for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#@DirtiesContext#Spring Test#ApplicationContext caching#test isolation
