Skip to content
Ben Christel edited this page Dec 20, 2020 · 1 revision

A spy is a type of TestDouble Object that records Messages it receives and provides an interface for the TestCode to get information about those Messages. Spies are used to Assert that the SystemUnderTest sends a particular sequence of messages to another Object.

Clone this wiki locally