### Question:
LiquidTools { public static String tenCharEpoch(long epoch) { String timeSince1970 = String.valueOf(epoch); if(timeSince1970.length() > 10) { return timeSince1970.substring(0, 10); } else { return String.format("%1$10s", timeSince1970).replace(" ", "0"); } }  static boolean checkForPermission(String permission, Context context); static String dateToString(Date date); static Date stringToDate(String date); static String colorToHex(int color); static void saveToDisk(Context c, String key, String value); static String loadFromDisk(Context c, String key); static void exceptionOrLog(boolean raiseException, String message); static String tenCharEpoch(long epoch);  }### Answer:
@Test public void testShortEpoch() { long epoch = 3600; assertEquals("0000003600", LiquidTools.tenCharEpoch(epoch)); }
@Test public void testLongEpoch() { long epoch = 1432142122; assertEquals("1432142122", LiquidTools.tenCharEpoch(epoch)); }