### Question:
DateUtils { public static long dateToTicks(Date dt) { return beginUnixEpoche + dt.getTime() * ticksPerMs; }  static long dateToTicks(Date dt); static Date ticksToDate(long ticks); static Date getDateLocal(int year, int month, int day, int hour, int minute, int second); static Date getDateUTC(int year, int month, int day, int hour, int minute, int second); static Date getDaysBeforeToday(double daysBeforeToday); static final TimeZone UTC; static final long beginUnixEpoche; static final long ticksPerMs; static final long msPerDay; }### Answer:
@Test public void testDateToTicks() throws Exception { long expected = expectedTicks; long actual = DateUtils.dateToTicks(getExpectedDate()); assertEquals(expected, actual); }