Mock or stub
One test double returns a fixed student when asked. Another records that
sendEmail was called and asserts on it.
What is the distinction?
One test double returns a fixed student when asked. Another records that
sendEmail was called and asserts on it.
What is the distinction?