Tests: Separate theme feature validation tests.
Move test_register_theme_support_validation() and its provider into a separate WP_UnitTestCase class to avoid unnecessary theme-directory and cache setup. Preserve all eight datasets, assertions, and expected errors.
Developed in: https://github.com/WordPress/wordpress-develop/pull/14306
Props sainathpoojary.
See #66074.
Javascript required