![java - In Mockito, Is there any way to mock Class (instead of interface) which have method that need to mocked and method that need to be tested? - Stack Overflow java - In Mockito, Is there any way to mock Class (instead of interface) which have method that need to mocked and method that need to be tested? - Stack Overflow](https://i.stack.imgur.com/7hw9V.jpg)
java - In Mockito, Is there any way to mock Class (instead of interface) which have method that need to mocked and method that need to be tested? - Stack Overflow
Mockito cannot mock/spy because : VM does not support modification of given type · Issue #441 · mockito/mockito-kotlin · GitHub
![NullPointerException in java.lang.reflect.Method.getParameterTypes · Issue #2026 · mockito/mockito · GitHub NullPointerException in java.lang.reflect.Method.getParameterTypes · Issue #2026 · mockito/mockito · GitHub](https://user-images.githubusercontent.com/6377070/92251239-330a9e00-eed5-11ea-9580-aa33abdf6c67.png)