### Question:
BinaryEncoder { public byte[] decode(String str) { return decode(str, new Bytes.Array(str.length() * encodingBitLen / 8)).getBytes(); } private  BinaryEncoder(char[] numberToChar, int[] charToNumber); String encode(byte[] bytes); byte[] decode(String str); String encodeLong(long l); String encodeInt(int i); long decodeLong(String str); int decodeInt(String str); static final BinaryEncoder HEX; static final BinaryEncoder HEX_ALIASED; static final BinaryEncoder BASE32; static final BinaryEncoder BASE32_CROCKFORD; static final BinaryEncoder BASE32_CROCKFORD_NUMBER; static final BinaryEncoder BASE64; static final BinaryEncoder BASE64_URL; static final BinaryEncoder NUMBER_BASE64_URL; }### Answer:
@Test(expected = IllegalArgumentException.class) public void detect_illegal_chars_below_range() { BASE32.decode("A1B"); }
@Test(expected = IllegalArgumentException.class) public void detect_illegal_chars_above_range() { BASE32.decode("A{B"); }
@Test(expected = IllegalArgumentException.class) public void detect_illegal_chars_within_range() { BASE32.decode("A=B"); }