We are having an old codebase with few tests mocking global static object. That influences other tests that fail if being called in a same testsuite (the same JVM) after the test which mocks static property.
There's a lot of work involved in rewriting the production code into a proper dependency injection. Much faster way would be to remove expectations.
Is there a way to manually clear/remove all expectations that has been set in a specific test class?