public void testEncodeEmpty() throws Exception { char[] c = Hex.encodeHex(new byte[0]); assertTrue(Arrays.equals(new char[0], c));
public void testEncodeEmpty() throws EncoderException { assertTrue(Arrays.equals(new char[0], Hex.encodeHex(new byte[0]))); assertTrue(Arrays.equals(new byte[0], new Hex().encode(new byte[0]))); assertTrue(Arrays.equals(new char[0], (char[])new Hex().encode("")));
    public void testEncodeEmpty() throws Exception {        char[] c = Hex.encodeHex(new byte[0]);        assertTrue(Arrays.equals(new char[0], c));    }