ExamGecko
Question list
Search
Search

Question 20 - 2V0-72.22 discussion

Report
Export

Which statement is true? (Choose the best answer.)

A.
@ActiveProfiles is a class-level annotation that is used to instruct the Spring TestContext Framework to record all application events that are published in the ApplicationContext during the execution of a single test.
Answers
A.
@ActiveProfiles is a class-level annotation that is used to instruct the Spring TestContext Framework to record all application events that are published in the ApplicationContext during the execution of a single test.
B.
@ActiveProfiles is a class-level annotation that you can use to configure how the Spring TestContext Framework is bootstrapped.
Answers
B.
@ActiveProfiles is a class-level annotation that you can use to configure how the Spring TestContext Framework is bootstrapped.
C.
@ActiveProfiles is a class-level annotation that you can use to configure the locations of properties files and inlined properties to be added to the set of PropertySources in the Environment for an ApplicationContext loaded for an integration test.
Answers
C.
@ActiveProfiles is a class-level annotation that you can use to configure the locations of properties files and inlined properties to be added to the set of PropertySources in the Environment for an ApplicationContext loaded for an integration test.
D.
@ActiveProfiles is a class-level annotation that is used to declare which bean definition profiles should be active when loaded an ApplicationContext for an integration test.
Answers
D.
@ActiveProfiles is a class-level annotation that is used to declare which bean definition profiles should be active when loaded an ApplicationContext for an integration test.
Suggested answer: D

Explanation:

Reference: https://docs.spring.io/spring-framework/docs/4.2.x/spring-framework-reference/html/integration- testing.html

asked 16/09/2024
Katherin Aragon Calderon
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first