I have a method, I want to test. In there I call a static method of a final Hybris-class (`Config.getParameter("aString")`). I want to mock it, but I found out, you can't do that with Mockito. So what would be a good way to approach this? The thing is, I am thinking about refactoring. But I can't change the Config-class, since it is from Hybris.

How can I change my class I want to test, so that I can influence the `Config.getParameter("aString")` call?

Thanks!