Implements spies, a variation of an expectation that asserts a call has
happened.