By Javin_Paul

Stub and Mock objects are two popular technique Java programmers use during Unit testing. This article explains difference between Stub and Mock objects and guide where to use them on Test driven development.