Which of the following statements about Spring's JUnit integration testing support is true? (select one)
A) A new ApplicationContext is initialized and created for each test method
B) To obtain references to the Spring bean(s) you want to test, you need to call getBean() on the ApplicationContext provided
C) You can indicate which XML configuration files the test class will use to create the ApplicationContext
D) All of the above
Correct Answer:
Verified
Q8: Two beans of type MyBean are defined
Q9: Given an ApplicationContext containing multiple bean definitions
Q10: import com.springsource.service.*; ... @Configuration public class AppConfig
Q11: Which of the following statements is NOT
Q12: Using Spring AOP, which of the following
Q14: What is true regarding bean definition inheritance?
A)
Q15: Consider the following complete configuration sample:
< bean
Q16: @Configuration public class AppConfig { @Bean public
Q17: Which of the following statements best describes
Q18: What is the primary purpose of bean
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents