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