PdfPrep.com

Which of the following statements best describes the benefits of using the Spring Framework with respect to unit testing? (Select one)

Which of the following statements best describes the benefits of using the Spring Framework with respect to unit testing? (Select one)
A . Your Java code typically has dependencies on Spring Framework classes which are designed to make the job of unit testing easier
B . The Spring Framework encourages you to program to interfaces which makes it easier to stub or mock out dependencies in your code
C . The extensive runtime checks performed by the ApplicationContext when it initializes make traditional unit testing less important
D . All of the above

Answer: B

Exit mobile version