Has anyone seen the "mock-maker-inline" feature su...
# announcements
d
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
yes, the exact same thing happened to me like 2 days ago.
d
Did you maybe introduce powermock into your project? I got the experience that both don't work together
s
I think mine happened on an upgrade from gradle 4.10 to 5.1
d
not powermock no, but i did introduce mockito-kotlin. however that didnt turn out to be the problem
after poking around I found out that the mockito-extentions directory where you need to put the file somehow lost its name???
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
either way - it seems to work again now that I've renamed that folder correctly