httpStatus === 422, 'Invalid country input must remain a validation error.'); } } $known = CloudCountryCatalog::option('hk'); $assert($known['code'] === 'HK' && $known['name'] === '中国香港' && $known['flag'] === '🇭🇰', 'Known country metadata did not round-trip through the shared catalog.'); $unsupported = CloudCountryCatalog::option('de'); $assert($unsupported['code'] === 'DE' && $unsupported['flag'] === '🌐', 'Historical unsupported codes must remain readable without crashing the resource page.'); echo "Cloud country catalog checks passed.\n";