### Question:
NTGUtility { public static String getTransactTime() { return getTransactTime(getTransactTimeMillisecond()); }  static String asString(Object obj); static String getNewClOrdID(); static String getNewShortClOrdID(String userKey); static IdleStatus translateMinaIdleStatus(org.apache.mina.core.session.IdleStatus minaStatus); static String getMachineIP(); static String getRandomString( int length ); static String setupLoggerConfiguration(); static String getTransactTime(); static LocalDateTime getTransactTimeAsDate(); static LocalDateTime getTransactTimeAsDate(long time); static LocalDateTime getTransactTimeAsDate(String time); static String getTransactTime(long time); static long getTransactTime(String time); static long getTransactTime(LocalDateTime localDateTime); static String getEntryTime(); static int getExpireDateTime(); static int getExpireDateTime(LocalDateTime date, String dateFormat); static int getExpireDateTime(String dateFormat); static int getSpecificExpireDateTime(int year, int month, int day, int hour, int minute, int second); static String getHexdump(IoBuffer in, int lengthLimit); static final String EOL; }### Answer:
@Test public void testGetTransactTimeLong() { assertEquals(dateTime, NTGUtility.getTransactTime(ntgDateTime)); }
@Test public void testGetTransactTimeString() { assertEquals(ntgDateTime, NTGUtility.getTransactTime(dateTime)); assertEquals(ntgDateTime, NTGUtility.getTransactTime(localDateTime)); }