Question IT-STS-0070
HardIn unit testing, how does a mock usually differ from a stub?
- A.
A mock also checks how it was called (the interactions); a stub only returns fixed answers
- B.
A stub checks interactions; a mock returns nothing
- C.
Sign up free to see the answer and a step-by-step explanation.