#92461Remove $mock->at() usage due to deprecation in phpunit v9
Description
Warnings like this are thrown during Unit Test runs with phpunit v9:
The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked.
This seems valid advice, as ->at usage hints on whitebox tests that rely on the inner structure of a class rather on its behavior. Removing this kind of coupling resolves the warning and the code smell.