Stub

Test double that replaces a collaborator that provides indirect input. Stubs can be created “by hand” or by using a mocking framework. Such frameworks often don’t make any distinctions between stubs and mock objects (mocks), which makes people use the terms incorrectly and leads to confusing tests.

A good rule to remember is that a stub can never make a test fail, whereas a mock can. This means that there will never be any assertions or verifications on a stub.