Has anyone seen the "mock-maker-inline" feature suddenly stop working? Was able to mock final classes yesterday but then this morning it just... stopped. Using Mockito 2 (2.17.0) and IntelliJ.
s
snowe
02/14/2019, 6:10 PM
yes, the exact same thing happened to me like 2 days ago.
d
Daniel
02/14/2019, 6:10 PM
Did you maybe introduce powermock into your project? I got the experience that both don't work together
s
snowe
02/14/2019, 6:10 PM
I think mine happened on an upgrade from gradle 4.10 to 5.1
d
DaveQ
02/14/2019, 6:42 PM
not powermock no, but i did introduce mockito-kotlin. however that didnt turn out to be the problem
DaveQ
02/14/2019, 6:43 PM
after poking around I found out that the mockito-extentions directory where you need to put the file somehow lost its name???
DaveQ
02/14/2019, 6:44 PM
so it was named correctly yesterday and then this morning was back to "untitled folder" somehow? my best guess is some intellij weirdness or interaction git that I didnt notice
DaveQ
02/14/2019, 6:44 PM
either way - it seems to work again now that I've renamed that folder correctly