@Test
public void toHexStringWithShort() throws Exception {

    String s0 = null;
    s0 = HexUtil.toHexString((short)0x65);
    Assert.assertEquals("0065", s0.toString());
    s0 = HexUtil.toHexString((short)0x6534);
    Assert.assertEquals("6534", s0.toString());
    s0 = HexUtil.toHexString((short)0x00);
    Assert.assertEquals("0000", s0.toString());
    s0 = HexUtil.toHexString((short)-1);
    Assert.assertEquals("FFFF", s0.toString());
}