### Question:
Utils { public static String formatTimer(long timerInSeconds) { final long min = TimeUnit.SECONDS.toMinutes(timerInSeconds); final long sec = TimeUnit.SECONDS.toSeconds(timerInSeconds - TimeUnit.MINUTES.toSeconds(min)); return String.format("%02d:%02d", min, sec); }  static float clamp(float min, float max, float value); static float getViewRawY(View view); static void setTint(Context context, CheckBox box, int color); static String getDate(@NonNull Context c, long f); @SuppressWarnings("deprecation") static int getColor(Context c, @ColorRes int color); static int dpToPx(Context c, int dp); static String differenceStrings(String str1, String str2); static void disableScreenRotation(@NonNull Activity activity); static void enableScreenRotation(@NonNull Activity activity); static boolean isDeviceInLandScape(Activity activity); static String sanitizeInput(String input); static Uri getUriForBaseFile(
      @NonNull Context context, @NonNull HybridFileParcelable baseFile); static int nthToLastCharIndex(int elementNumber, String str, char element); static String formatTimer(long timerInSeconds); @TargetApi(Build.VERSION_CODES.N) static File getVolumeDirectory(StorageVolume volume); static boolean isNullOrEmpty(final Collection<?> list); static boolean isNullOrEmpty(final String string); static void invalidateFab(
      MainActivity mainActivity, @Nullable Runnable callback, boolean open); static Snackbar showThemedSnackbar(
      MainActivity mainActivity,
      CharSequence text,
      int length,
      @StringRes int actionTextId,
      Runnable actionCallback);  }### Answer:
@Test public void testFormatTimer() { assertEquals("10:00", formatTimer(600)); assertEquals("00:00", formatTimer(0)); assertEquals("00:45", formatTimer(45)); assertEquals("02:45", formatTimer(165)); assertEquals("30:33", formatTimer(1833)); }