The test object will usually use predefined interfaces to call other components, which are simulated by placeholders called stubs or mocks if the components themselves are not yet ready. Stubs simulate the input/output behavior of the components they represent.
Leave a Reply