1.

_____________ are empty shells that supply methods to let the tests have control of the behavior of all the business methods of the faked class.(a) Stubs(b) Jetty(c) Mocks(d) InterfacesThis question was posed to me in exam.The doubt is from Comparing Stubs, Mock Objects and In-container Testing in division In-container Testing of JUnit

Answer»

The correct option is (c) MOCKS

Best explanation: Mocks are different from stubs in the SENSE that they do not implement any LOGIC.



Discussion

No Comment Found

Related InterviewSolutions