Working perfectly for me.
First mockk TextUtils with mockkStatic
mockkStatic(TextUtils::class)
every { TextUtils.isEmpty(null) } returns true/false