@Test
public void testToMs() throws IOException {

  TransactionTTL.init(HBaseConfiguration.create());
  long ms = TransactionTTL.toMs(369778447744761856l);
  Assert.assertTrue(ms < System.currentTimeMillis());
  Assert.assertTrue(ms > (System.currentTimeMillis() - 5l * 365 * 24 * 3600 * 1000));
}