### Question:
VideoV2Util { public static long formatDate(Date dt) { if(dt != null) { return dt.getTime(); }else{ return 0; } }  static long formatDate(Date dt); static UUID createExpirationIdFromTTL(UUID recordingId, long ttlInSeconds); static long createActualTTL(UUID recordingId, UUID expirationId); static long createExpirationFromTTL(UUID recordingId, long ttlInSeconds); static long createActualTTL(UUID recordingId, long expirationInMs); static void executeBatchWithLimit(Session session, BatchStatement batchStmt, int batchSize, Timer timer); static List<Statement> getDataCleanupStatements(String tableSpace); static PlatformMessage createQuotaReportEvent(UUID placeId, String population, long used, long usedTimestamp, Unit unit, boolean favorite); static Date getStartOfNextDay(Date dt);  }### Answer:
@Test public void testFormatDate() throws Exception { Date dt1 = new Date(); long dt1Str = VideoV2Util.formatDate(dt1); System.out.println(dt1); Date dt2 = new Date(dt1Str); assertEquals(dt1, dt2); }