What is a test stub?
A small code which mimics a specific component in the system and can replace it. Its output is same as the component it replaces.