Skip to content
Sharp

Testing · interview question

Which of the following is NOT a typical use case for Mockito in integration testing?

Multiple choiceMediumchapter-10-curatedpremiumtestingintegration-testing
Choose one answer
Answer and explanation

Correct answer

D. Testing UI components.

Why

Mockito is primarily used to mock interactions between services and components. It is not typically used for testing UI components, as those are usually tested with other tools designed for user interface testing.

Test yourself on Testing

A free test with instant, explained results. No account needed.

Start free test
All Testing questions →