### Question:
Utils { public static String timestampToTime(long seconds, int nanos) { LocalDateTime dateTime = LocalDateTime.ofEpochSecond(seconds, nanos, ZoneOffset.UTC); DateTimeFormatter formatter = DateTimeFormatter.ofPattern("H:mm", Locale.getDefault()); String formattedDate = dateTime.format(formatter); return formattedDate; }  static String timestampToDate(long seconds, int nanos); static String timestampToTime(long seconds, int nanos); static String applicationMessageIdToString(ApplicationMessageID transactionId); static String transactionIdToString(TransactionId transactionId); static Credit creditFromCreditBPM(CreditBPM creditBPM, String threadId); static CreditBPM creditBPMFromCredit(Credit credit); static Settlement settlementFromSettleProposeBPM(SettleProposeBPM settleProposeBPM, String threadId); static ApplicationMessageID applicationMessageIdFromString(String appMessageId); static String getThreadId(); static Money moneyFromSettlement(Settlement settlement); static ResponseEntity<SettlementRest> serverError();  }### Answer:
@Test public void testTimestampToTime() throws Exception { Locale.setDefault(Locale.ENGLISH); String formattedTime = Utils.timestampToTime(1580914593, 0); assertEquals("14:56", formattedTime); }