Change $modules visibility to protected in migration test
requested to merge issue/field_formatter_class-3472609:3472609-property-drupaltestsfieldformatterclasskernelmigrated7migratefieldformatterclasssettingstestmodules-property into 8.x-1.x
fix: change $modules visibility to protected in migration test
Closes #3472609