I thought Mockito mocked interfaces through the use of dynamic proxies.
But then I noticed the type of a Mockito-mocked intefaces whilst debugging:
MyInterface$$EnhancerByMockitoWithCGLIB$$9654c88
indicating that CGLIB is used instead of a dynamic proxy.
Can someone please:
- Clarify my interrogation
- Point me to the relevant source code location in Mockito