### Question:
Base64 { public static String decode(String s) { return LessBytes.toString(base64.decode(s)); }  static void main(String args[]); static String encode(String s); static String encodeURLSafe(String s); static char[] encode(byte[] in); static char[] encodeURLSafe(byte[] in); static String decode(String s); static String decode(String s, boolean strict); static String decodeURLSafe(String s); static String decodeURLSafe(String s, boolean strict); static byte[] decode(char[] in); static byte[] decode(char[] in, boolean strict); static byte[] decodeURLSafe(char[] in); static byte[] decodeURLSafe(char[] in, boolean strict);  }### Answer:
@Test public void testDecodeCharArray() { byte[] decoded = new byte[]{7, 9, 7}; char[] encoded = new char[]{66, 119, 107, 72}; assertArrayEquals(decoded, Base64.decode(encoded)); }
@Test public void testDecodeString() { String decoded = "foo"; String encoded = "Zm9v"; assertEquals(decoded, Base64.decode(encoded)); }
@Test public void testDecodeString_NonURLSafeString() { String decoded = " "; String encoded = "IA=="; assertEquals(decoded, Base64.decode(encoded)); }