1.

_________ replace the objects with which the methods under test collaborate, offering a layer of isolation.(a) Classes(b) Mocks(c) Unified Stamps(d) InterfacesThe question was asked by my college director while I was bunking the class.My question is taken from Comparing Stubs, Mock Objects and In-container Testing topic in section In-container Testing of JUnit

Answer»

The CORRECT ANSWER is (b) Mocks

Explanation: Mocks are SIMILAR to STUBS because of the level of isolation they offer.



Discussion

No Comment Found

Related InterviewSolutions