final BinaryEncoder enc = new Base64();
for (int i = 0; i < STRINGS.length; i++) {
if (STRINGS[i] != null) {
final byte[] base64 = utf8(STRINGS[i]);
final byte[] binary = BYTES[i];
final boolean b = Arrays.equals(base64, enc.encode(binary));
assertTrue("BinaryEncoder test-" + i, b);
}
}
}