Thanks JavaPF.
Just found another solution with CGLIB if interesting. Refactoring sometimes allows to resolve the problem as well.
Cheers!
Type: Posts; User: intelrate
Thanks JavaPF.
Just found another solution with CGLIB if interesting. Refactoring sometimes allows to resolve the problem as well.
Cheers!
Here is a question.
I wanted my JUnit tests to be more modular and found how to mock protected methods for that purpose. Briefly speaking, we cannot mock and control calls of protected method with...