https://kotlinlang.org logo
#android
Title
# android
d

dknapp

02/12/2018, 2:39 PM
doh. slowpoke to the ktx questions
p

Pascal How

02/12/2018, 2:44 PM
Did you mean my question from earlier? 😆
d

dknapp

02/12/2018, 2:49 PM
no it was 0day’s question. what did you ask?
p

Pascal How

02/12/2018, 2:52 PM
I already had a nice discussion with Andrey Mischenko a bit earlier 🙂 It was about testing extension functions when using Mockito. The initial question was about the fact that even though on the surface extension functions look like member functions, they are resolved statically and you cannot mock static methods
d

dknapp

02/12/2018, 4:08 PM
Oh yeah I haven’t actually done a lot of that. I doubt I’d mock that and test it more like a static Util function