@Test
public void toHexStringWithInt() throws Exception {

    String s0 = null;
    s0 = HexUtil.toHexString((int)0x65);
    Assert.assertEquals("00000065", s0.toString());
    s0 = HexUtil.toHexString((int)0x6534);
    Assert.assertEquals("00006534", s0.toString());
    s0 = HexUtil.toHexString((int)0x00);
    Assert.assertEquals("00000000", s0.toString());
    s0 = HexUtil.toHexString(-34000);
    Assert.assertEquals("FFFF7B30", s0.toString());
    s0 = HexUtil.toHexString(-1);
    Assert.assertEquals("FFFFFFFF", s0.toString());
}