I\'m using Context to access system level services like WifiManager and BluetoothManager. How to mock this getApplicationContext() using Mockito?
If you want to get the context with Kotlin and Mockito, you can do it in the following way:
Kotlin
Mockito
mock(Context::class.java)