code: def test_should_raise_exception_if_both_connection_or_token_is_not_provided(
      self,
  ):
      with pytest.raises(airflow.exceptions.AirflowException) as ctx:
          TelegramHook()
  
      assert (
          "Cannot get token: No valid Telegram connection supplied."
          == str(ctx.value)
      )
  
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  import telegram
  import airflow
  from airflow.models import Connection
  from airflow.providers.telegram.hooks.telegram import TelegramHook
  from airflow.utils import db
label_desc: Use image node_id 2 for calling the TestTelegramHook obj's underlying member method code with example usage: obj.test_should_raise_exception_if_both_connection_or_token_is_not_provided() without return types