ExamGecko
Question list
Search
Search

Question 7 - 2V0-72.22 discussion

Report
Export

Which two statements are true regarding Spring and Spring Boot Testing? (Choose two.)

A.
EasyMock is supported out of the box.
Answers
A.
EasyMock is supported out of the box.
B.
@SpringBootTest or @SpringJUnitConfig can be used for creating an ApplicationContext.
Answers
B.
@SpringBootTest or @SpringJUnitConfig can be used for creating an ApplicationContext.
C.
Mockito spy is not supported in Spring Boot testing by default.
Answers
C.
Mockito spy is not supported in Spring Boot testing by default.
D.
The spring-test dependency provides annotations such as @Mock and @MockBean.
Answers
D.
The spring-test dependency provides annotations such as @Mock and @MockBean.
E.
Integration and slice testing are both supported.
Answers
E.
Integration and slice testing are both supported.
Suggested answer: C, D

Explanation:

Reference: https://docs.spring.io/spring-boot/docs/2.1.5.RELEASE/reference/html/boot-features-testing.html

asked 16/09/2024
Prakhar Sengar
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first