Spies intercept and record calls to functions. They can report on how many
times a function was called and with what arguments. They can allow the
function call to go through as normal, to block it, or to reroute it to
another function.
.
Spies are like mocks, but better. You're not mocking the world. You're
replacing very specific function logic, or listening to functions without
altering them.
Installed Size: 347.1 kB
Architectures: all