How to Mock Java Enum or Final Class Without PowerMock
First things first. Here we won’t be discussing mocking of Java enum or final class using PowerMock framework. That is already discussed in tons of places & one of the main reason why people tend to use PowerMock.Here we will be discussing mocking of enum or final classes with Mockito framework only. The feature has … Read more