Split from #334.
Summary
ConfigMapperTest tests all four core settings but doesn't verify that constant_prefix and functions_prefix from composer.json are correctly mapped to Mozart::$constantPrefix and Mozart::$functionsPrefix. A typo in the JSON key or setter name would silently disable the feature.
Recommendation
Add test cases to ConfigMapperTest that include constant_prefix and functions_prefix in the input JSON and assert they are correctly mapped to the corresponding Mozart properties.
Split from #334.
Summary
ConfigMapperTesttests all four core settings but doesn't verify thatconstant_prefixandfunctions_prefixfromcomposer.jsonare correctly mapped toMozart::$constantPrefixandMozart::$functionsPrefix. A typo in the JSON key or setter name would silently disable the feature.Recommendation
Add test cases to
ConfigMapperTestthat includeconstant_prefixandfunctions_prefixin the input JSON and assert they are correctly mapped to the correspondingMozartproperties.