def record_responses_for_decorator(function_return, function_args, store=store
    ):
    """ Create and store mock function responses from real responses and store them by function argument tuples.

        To be called from inside decorator
    """
    print('Recording response function "%s"' % function_args[0])
    store_key = store.hash_args(function_args)
    store.update(store_key, function_return)
    return function_return
