### Question:
UZTrackingUtil { public static void clearAllValues(Context context) { setTrackingDoneWithEventTypeDisplay(context, false); setTrackingDoneWithEventTypePlaysRequested(context, false); setTrackingDoneWithEventTypeVideoStarts(context, false); setTrackingDoneWithEventTypeView(context, false); setTrackingDoneWithEventTypeReplay(context, false); setTrackingDoneWithEventTypePlayThrought25(context, false); setTrackingDoneWithEventTypePlayThrought50(context, false); setTrackingDoneWithEventTypePlayThrought75(context, false); setTrackingDoneWithEventTypePlayThrought100(context, false); }  static void clearAllValues(Context context); static boolean isTrackedEventTypeDisplay(Context context); static void setTrackingDoneWithEventTypeDisplay(Context context, boolean isDone); static boolean isTrackedEventTypePlaysRequested(Context context); static void setTrackingDoneWithEventTypePlaysRequested(Context context, boolean isDone); static boolean isTrackedEventTypeVideoStarts(Context context); static void setTrackingDoneWithEventTypeVideoStarts(Context context, boolean isDone); static boolean isTrackedEventTypeView(Context context); static void setTrackingDoneWithEventTypeView(Context context, boolean isDone); static boolean isTrackedEventTypeReplay(Context context); static void setTrackingDoneWithEventTypeReplay(Context context, boolean isDone); static boolean isTrackedEventTypePlayThrought25(Context context); static void setTrackingDoneWithEventTypePlayThrought25(Context context, boolean isDone); static boolean isTrackedEventTypePlayThrought50(Context context); static void setTrackingDoneWithEventTypePlayThrought50(Context context, boolean isDone); static boolean isTrackedEventTypePlayThrought75(Context context); static void setTrackingDoneWithEventTypePlayThrought75(Context context, boolean isDone); static boolean isTrackedEventTypePlayThrought100(Context context); static void setTrackingDoneWithEventTypePlayThrought100(Context context, boolean isDone);  }### Answer:
@Test public void clearAllValues() { UZTrackingUtil.clearAllValues(context); Mockito.verify(sharedPreferences, times(9)).edit(); Mockito.verify(editor, times(9)).putBoolean(anyString(), anyBoolean()); Mockito.verify(editor, times(9)).apply(); }