Exam4Training

Which of the following statements about Spring’s JUnit integration testing support is true? (select one)

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

Answer: C

Exit mobile version