def METHOD_NAME(self, func_name, env_vars, error_code=None):
    expected_params = {
        'FunctionName': func_name, 'Environment': {'Variables': env_vars}}
    response = {'FunctionName': func_name}
    self._stub_bifurcator(
        'update_function_configuration', expected_params, response, error_code=error_code)