I've not used `pretend` before, but this looks like `pretend.call_recorder`.