An implementation that returns a hardcoded value for purposes of testing is known as a __________
(a) Stub
(b) Mock Object
(c) Packet
(d) Jammer
The question was asked during an interview.
My question is from The Mock Objects Solution topic in chapter In-container Testing of JUnit