### Question:
MiscUtil { public static final String getHexString(final byte[] bytes) { return DatatypeConverter.printHexBinary(bytes); } private  MiscUtil(); static final String getHexString(final byte[] bytes); static final byte[] getByteArrayFromHexString(final String str); static final LSMessageDigest getLSMessageDigestFromHexString(final String str); static void createDirectoryIfNotExists(final File directory, final ILSLog log); static InputSource getInputSource(final InputStream inputStream);  }### Answer:
@Test public void testGetHexString() { Assert.assertEquals("hex string", MESSAGE_DIGEST_STRING, MiscUtil.getHexString(MESSAGE_DIGEST_BYTE_ARRAY)); }