Big 11.11 Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

VMware Professional Develop VMware Spring 2V0-72.22 Question # 19 Topic 2 Discussion

VMware Professional Develop VMware Spring 2V0-72.22 Question # 19 Topic 2 Discussion

2V0-72.22 Exam Topic 2 Question 19 Discussion:
Question #: 19
Topic #: 2

Which option is true about use of mocks in a Spring Boot web slice test? (Choose the best answer.)


A.

Mocking a Spring Bean requires annotating it with @MockBean annotation.


B.

If a Spring Bean already exists in the web slice test spring context, it cannot be mocked.


C.

Mocks cannot be used in a Spring Boot web slice test.


D.

Mocking a Spring Bean requires annotating it with @Mock annotation.


Get Premium 2V0-72.22 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.