Saturday, April 13, 2019

Mockito revisited

I have used Mockito in 2010. Then I never did SERIOUS Java development any more (shame on me...)

Yet I strongly believe that a solid implementation of Mocks is the foundation of healthy, fully testable software.
If you can't entirely automate your application tests, you are playing with your life.


source code is here

List mockedList;

List spiedList = new ArrayList();

ArgumentCaptor argCaptor;

I am getting : Illegal reflective access by org.mockito.internal.util.reflection.AccessibilityChanger
Hopefully Mockito folks will fix this one da.

No comments: