code: def test_wrong_arguments():
      pubsub = Pubsub(EventService())
      topic = pubsub.create_event_topic(DummyInterface)
  
      with pytest.raises(TypeError):
          # noinspection PyArgumentList
          topic.event2(wrong_name=1)
  
file_path: maze/maze/test/core/test_pubsub.py
imports: from abc import ABC
  from typing import List, Type
  import pytest
  from maze.core.events.event_service import EventService
  from maze.core.events.event_record import EventRecord
  from maze.core.events.pubsub import Pubsub, Subscriber
label_desc: Use image node_id 4 for calling a global function with example usage: test_wrong_arguments() without return types