Recording the return values of a mocked callable.