@Test
public void toHexStringWithLong() throws Exception {

    String s0 = null;
    s0 = HexUtil.toHexString(0x65L);
    Assert.assertEquals("0000000000000065", s0.toString());
    s0 = HexUtil.toHexString(0x6534L);
    Assert.assertEquals("0000000000006534", s0.toString());
    s0 = HexUtil.toHexString(0x00L);
    Assert.assertEquals("0000000000000000", s0.toString());
    s0 = HexUtil.toHexString(-34000L);
    Assert.assertEquals("FFFFFFFFFFFF7B30", s0.toString());
    s0 = HexUtil.toHexString(-1L);
    Assert.assertEquals("FFFFFFFFFFFFFFFF", s0.toString());
}