def get_event_triggers(cls) -> dict[str, Any]:
            """Test controlled triggers.

            Returns:
                Test controlled triggers.
            """
            return {
                **super().get_event_triggers(),
                "on_open": passthrough_event_spec(bool),
                "on_close": passthrough_event_spec(bool),
                "on_user_visited_count_changed": passthrough_event_spec(int),
                "on_two_args": passthrough_event_spec(int, int),
                "on_user_list_changed": passthrough_event_spec(list[str]),
            }
Test controlled triggers.

            Returns:
                Test controlled triggers.
            
tests/units/components/test_component.py