<mockito is not working for sharedPreferences with...
# stackoverflow
r
mockito is not working for sharedPreferences with instrumentedTest I have three activity activityA, activityB and activityC. whenever we will start app it will launch activityA and based on shared preferences (based on boolean value which we will receive from shared preferences.) it will start activityB or activityC with onCreate Activity lifecycle event here is my test code package com.panther_nine.t2_mini import android.content.Context import android.content.Intent import android.content.SharedPreferences import...