Tests: Cover dispatch to the all hook.
Add coverage for _wp_call_all_hook() through action and filter dispatch, including argument forwarding, callback priority, and current-filter cleanup.
_wp_call_all_hook()
Developed in: https://github.com/WordPress/wordpress-develop/pull/14525
Props huzaifaalmesbah, mukesh27. See #65819.