@Test
public void testLongToHexString() {

    long value1 = 12345678L;
    String str1 = HexEncode.longToHexString(value1);
    Assert.assertTrue(str1.equals("00:00:00:00:00:bc:61:4e"));
    long value2 = 98765432L;
    String str2 = HexEncode.longToHexString(value2);
    Assert.assertFalse(str2.equals("00:44:33:22:11:bc:61:4e"));
}