A spy never calls real methods under any circumstances.

Practice this question from Quiz: JUnit and Mockito, with options and an explanation.

Question

A spy never calls real methods under any circumstances.

Option A

True

Spies are partial test doubles around real instances.

Option B — Correct answer

False

Spies are partial test doubles around real instances.

Quiz: JUnit and Mockito

All questions · Previous question

Open on QuizMaker