code: def test_invalid_configs(
      configs: Dict[Text, Any], expected: Type[RasaException]
  ):
      with pytest.raises(expected):
          TwilioVoiceInput(**configs)
  
file_path: rasa/tests/core/channels/test_twilio_voice.py
imports: import logging
  import pytest
  from http import HTTPStatus
  from rasa import server
  from rasa.core.agent import Agent
  from rasa.core.channels import channel
  from rasa.shared.exceptions import InvalidConfigException, RasaException
  from rasa.core.channels.twilio_voice import TwilioVoiceInput
  from rasa.core.channels.twilio_voice import TwilioVoiceCollectingOutputChannel
  from typing import Text, Any, Dict, Type
label_desc: Use image node_id 1 for calling a global function with example usage: test_invalid_configs(configs, expected) without return types