<MockK Kotlin: Verification failed: call 1 of 1: w...
# stackoverflow
u
MockK Kotlin: Verification failed: call 1 of 1: was not called I'm trying to essentially test whether a specific method in my class calls a different method properly. I'll remove all unneeded code, so basically my code is as follows: public class Monitor { protected void onMessage(String message) { Log.d(TAG, "Detected the message") changeOptions(); } protected void changeOptions() { Log.d("Reached changeOptions() method"); } } RunWith(RobolectricTestRunner::class) class MonitorTest { private lateinit var mymonitor :...