Broadcom-VMware
2V0-72.22PSE · Question #19
Which statement about @TestPropertySource annotation is true? (Choose the best answer.)
Sign in or unlock 2V0-72.22PSE to reveal the answer and full explanation for question #19. The question stem and answer options stay visible for context.
Testing
Question
Which statement about @TestPropertySource annotation is true? (Choose the best answer.)
Options
- AJava system properties have higher precedence than the properties loaded from
- BProperties defined @PropertySource are not loaded if @TestPropertySource is used.
- C@TestPropertySource annotation loads a properties file relative to the root of the project by
- DInlined properties defined in @TestPropertySource can be used to override properties defined
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
#@TestPropertySource#Test Configuration#Property Precedence#Spring Testing