Here is a question.
I wanted my JUnit tests to be more modular and found how to mock protected methods for that purpose: http://intelrate.blogspot.com/2009/05/how-to-mock-protected-method-in-java.html. Briefly speaking, we cannot mock and control calls of protected method with JDK dynamic proxy...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.