nerdexam
Broadcom-VMware

2V0-72.22 · Question #46

2V0-72.22 Question #46: Real Exam Question with Answer & Explanation

Sign in or unlock 2V0-72.22 to reveal the answer and full explanation for question #46. The question stem and answer options stay visible for context.

Question

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

Options

  • AMocking a Spring Bean requires annotating it with @MockBean annotation.
  • BIf a Spring Bean already exists in the web slice test spring context, it cannot be mocked.
  • CMocks cannot be used in a Spring Boot web slice test.
  • DMocking a Spring Bean requires annotating it with @Mock annotation.

Unlock 2V0-72.22 to see the answer

You've previewed enough free 2V0-72.22 questions. Unlock 2V0-72.22 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 2V0-72.22 Practice