### Question:
Util { public static String byteToHexString(byte b) { StringBuilder sb = new StringBuilder(2); sb.append(HEXES.charAt((b & 0xF0) >> 4)); sb.append(HEXES.charAt((b & 0x0F))); return sb.toString(); }  static String byteToHexString(byte b); static byte[] hexStringToByteArray(String s); static String byteArrayToHexString(byte[] raw, boolean spaces); static String hexStringToBinaryString(String s); static String intToHexString(int i); static int hexStringToInt(String s);  }### Answer:
@Test public void testByteToHexString() { System.out.println("byteToHexString"); byte b = 0x4F; String expResult = "4F"; String result = Util.byteToHexString(b); assertEquals(expResult, result); }