remove getContainer overwrites in tests
remove getContainer overwrites in tests

Since 5.0 the parent implementation throws an exception anyway making the overwrites obsolete, see https://github.com/symfony/symfony/pull/31202

symfony/security-bundle