Test stub

A test stub is a test double that provides static values to the software under test.

A test stub provides canned answers to calls made during the test, usually not responding at all to anything outside what's programmed in for the test.

[1] A stub may be coded by hand or generated via a tool.

This computer-programming-related article is a stub.

You can help Wikipedia by expanding it.