Should a static class/method/property be used in a unit test development environment, given that there is no way to test it without introducing a wrapper that is again not t
Technically you can mock the static method in Java with PowerMock, but if you need to do this I would seriously recommend to refactor your code. I think that static methods should always be private and used only inside the classes they are defined in, for internal purposes. I consider publicly exposed static method as a code smell.