def METHOD_NAME(
        self, func, *func_args, keep_going=False, raise_and_continue=False,
        **func_kwargs):
    """
    Adds a stubbed function response to the list.
    :param stubber: The stubber that implements the specified function.
    :param func: The name of the stub function.
    :param keep_going: When True, continue to process stub responses that follow
                       this function. Otherwise, stop on this function.
    :param func_args: The positional arguments of the stub function.
    :param func_kwargs: The keyword arguments of the stub function.
    """
    self.stubs.append({
        'func': func, 'keep_going': keep_going,
        'raise_and_continue': raise_and_continue,
        'func_args': func_args, 'func_kwargs': func_kwargs
    })