A ________ is a piece of code that’s inserted at runtime in place of the real code.
(a) Stub
(b) Mock Object
(c) Packet
(d) Jammer
The question was posed to me in an online quiz.
This interesting question is from The Mock Objects Solution topic in section In-container Testing of JUnit