// This is the deprecated setting used by all cases for this test method.
$deprecated_setting=[
'replacement'=>'happy_replacement',
'message'=>'The settings key "deprecated_legacy" is deprecated in drupal:9.1.0 and will be removed in drupal:10.0.0. Use "happy_replacement" instead. See https://www.drupal.org/node/3163226.',