* interface is behaving identical to commons-codec-1.3.jar.
*
* @throws DecoderException problem
*/
public void testBinaryDecoder() throws DecoderException {
BinaryDecoder dec = new Base64();
for (int i = 0; i < STRINGS.length; i++) {
if (STRINGS[i] != null) {
byte[] base64 = utf8(STRINGS[i]);
byte[] binary = BYTES[i];
boolean b = Arrays.equals(binary, dec.decode(base64));
assertTrue("BinaryDecoder test-" + i, b);
}
}
}