public void testEncodeDecodeRandom() throws Exception {
public void testEncodeDecodeRandom() throws DecoderException, EncoderException {
    public void testEncodeDecodeRandom() throws Exception {        Random random = new Random();        for (int i = 5; i > 0; i--) {            byte[] data = new byte[random.nextInt(10000) + 1];            random.nextBytes(data);            char[] enc = Hex.encodeHex(data);            byte[] data2 = Hex.decodeHex(enc);            assertTrue(Arrays.equals(data, data2));        }    }