Explain the difference between a mock and stubs

Explain the difference between a mock and stubs

A Mock is just a testing behavior which makes sure certain methods are called are not whereas Stubs is a testable version of a particular object. It can be explained further with this link - Mock vs Stubs