According to several descriptions from Stackoverflow etc. I tried to use mockito 2 in my project to mock final classes/functions,
Unfortunately I could not bring it to work, because I cant figure out how to configure it correctly.
My current setup:
Test-runner defined in gradle:
Runwith-annotation on test classes:
I dont want to declare my classes open only for testing, therefor I hope you could help me how to get it to work.
Thanks in advance