def METHOD_NAME(event_queue: IAgentEventQueue, event_queue_subscriber: AgentEventSubscriber):
    event_queue.subscribe_all_events(event_queue_subscriber)
    event_queue.publish(FakeEvent1(tags=frozenset({EVENT_TAG_1, EVENT_TAG_2})))
    event_queue.publish(FakeEvent1(tags=frozenset({EVENT_TAG_2})))
    event_queue.publish(FakeEvent1(tags=frozenset({"secret_tag"})))
    event_queue.publish(FakeEvent2())
    assert event_queue_subscriber.call_count == 4
    assert FakeEvent1 in event_queue_subscriber.call_types
    assert FakeEvent2 in event_queue_subscriber.call_types