Prevent mocking a static method.