code: def test_get_webhook_endpoint_conn_id(self):
      # Given
      conn_id = "default-discord-webhook"
      hook = DiscordWebhookHook(http_conn_id=conn_id)
      expected_webhook_endpoint = (
          "webhooks/00000/some-discord-token_000"
      )
  
      # When
      webhook_endpoint = hook._get_webhook_endpoint(conn_id, None)
  
      # Then
      assert webhook_endpoint == expected_webhook_endpoint
  
file_path: airflow/tests/providers/discord/hooks/test_discord_webhook.py
imports: from __future__ import annotations
  import json
  import pytest
  from airflow.exceptions import AirflowException
  from airflow.models import Connection
  from airflow.providers.discord.hooks.discord_webhook import DiscordWebhookHook
  from airflow.utils import db
label_desc: Use image node_id 4 for calling the TestDiscordWebhookHook obj's underlying member method code with example usage: obj.test_get_webhook_endpoint_conn_id() without return types