#89974Speed up tests - remove superfluous usages of accessible mock
Description
getAccessibleMock is used in various tests that don’t really need it as they can either use the real instance or a “normal” mock instead. As accessible mock is pretty slow performance wise, we should avoid using it where possible. While a lot of tests would have to be completely rewritten, there are various places where easy replacements are possible. These are the target of this issue.