### Question:
Util { public static String pidToString(byte[] libraryPersistentId) { StringBuffer sb = new StringBuffer(libraryPersistentId.length * 2); for (byte b : libraryPersistentId) { sb.append(String.format("%02X", b & 0xFF)); } return sb.toString(); }  static void assertEquals(String expected, String actual); static String toString(int tag); static int fromString(String s); static String pidToString(byte[] libraryPersistentId); static String toUrl(String p); static boolean isIdentifier(String id);  }### Answer:
@Test public void testPidToString() { byte[] libraryPersistentId = { 0x30, 0x14, (byte) 0x96, (byte) 0xC1, 0x63, (byte) 0xC0, (byte) 0xDF, 0x40 }; assertEquals("301496C163C0DF40", Util.pidToString(libraryPersistentId)); }