InterviewSolution
Saved Bookmarks
| 1. |
An implementation that returns a hardcoded value for purposes of testing is known as a __________(a) Stub(b) Mock Object(c) Packet(d) JammerThe question was asked during an interview.My question is from The Mock Objects Solution topic in chapter In-container Testing of JUnit |
|
Answer» RIGHT option is (a) Stub For explanation: A stub implementation can be CREATED DYNAMICALLY USING LAMBDAS. |
|