### Question:
Base58 { public static Bytes decode(String b58) { return Bytes.wrap(decodeBytes(b58)); } private  Base58(); static String encodeBytes(byte[] bytes); static String encode(Bytes bytes); static byte[] decodeBytes(String b58); static Bytes decode(String b58);  }### Answer:
@Test void testBadCharacter() { assertThrows(IllegalArgumentException.class, () -> { Base58.decode("%^"); }); }