I am using private static final LOGGER field in my class and I want LOGGER.isInfoEnabled() method to return false. How can
I think mockito or jMockit cant mock static final classes as they try to override the methods while unit testing. However, powerMockito can as it uses Reflection and mocks the static final class/methods.