@Test
public void testPack() {

  LocalTime time = LocalTime.now();
  int packed = pack(time);
  LocalTime t1 = asLocalTime(PackedLocalDateTime.time(packed));
  assertNotNull(t1);
  assertEquals(time.getHour(), t1.getHour());
  assertEquals(time.getMinute(), t1.getMinute());
  assertEquals(time.getSecond(), t1.getSecond());
  assertEquals(time.get(ChronoField.MILLI_OF_SECOND), t1.get(ChronoField.MILLI_OF_SECOND));
}