Hey, Ive got a class `A` I want to mock. It is my...
# announcements
u
Hey, Ive got a class
A
I want to mock. It is my class, but its superclass
B
depends on android
TextUtils.isEmpty
. If I mock
A
via mockito. I get a crash that it cannot mock static methods bla bla that isEmpty method How come? I thought mockito makes a sort of a "inline interface" from the object and instantiates that, Therefore it shouldnt even get to the
B
class constructor, no? Or is this some sort of a bug related to the
org.mockito.plugins.MockMaker
thingy that allows mocking of kotlin final classes?