code: def test_user_uttered_intent_name(
      event: UserUttered, intent_name: Optional[Text]
  ):
      assert event.intent_name == intent_name
  
imports: import copy
  import pytest
  import pytz
  import time
  from datetime import datetime
  from dateutil import parser
  from typing import Type, Optional, Text, List, Any, Dict
  import rasa.shared.utils.common
  import rasa.shared.core.events
  from rasa.core.test import WronglyClassifiedUserUtterance, WarningPredictedAction, WronglyPredictedAction, EndToEndUserUtterance, EvaluationStore
  from rasa.shared.exceptions import UnsupportedFeatureException
  from rasa.shared.core.constants import ACTION_LISTEN_NAME, ACTION_SESSION_START_NAME, ACTION_UNLIKELY_INTENT_NAME
  from rasa.shared.core.events import Event, UserUttered, SlotSet, Restarted, ActionExecuted, AllSlotsReset, ReminderScheduled, ReminderCancelled, ConversationResumed, ConversationPaused, StoryExported, ActionReverted, BotUttered, FollowupAction, UserUtteranceReverted, AgentUttered, SessionStarted, EntitiesAdded, DefinePrevUserUtteredFeaturization, ActiveLoop, LegacyForm, LoopInterrupted, ActionExecutionRejected, LegacyFormValidation, format_message
  from rasa.shared.nlu.constants import INTENT_NAME_KEY, METADATA_MODEL_ID
  from tests.core.policies.test_rule_policy import GREET_INTENT_NAME, UTTER_GREET_ACTION
label_desc: Use image node_id 24 for calling a global function with example usage: test_user_uttered_intent_name(event, intent_name) without return types