### Question:
Base32 { public static String encodeBytes(byte[] bytes) { requireNonNull(bytes); return new String(codec.encode(bytes), UTF_8); } private  Base32(); static String encodeBytes(byte[] bytes); static String encode(Bytes bytes); static byte[] decodeBytes(String b32); static Bytes decode(String b32);  }### Answer:
@Test void shouldEncodeByteArray() { String s = Base32.encodeBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8}); assertEquals("AEBAGBAFAYDQQ===", s); }