### Question:
Base64Coder { public static String encodeString(String s) { return new String(encode(s.getBytes())); } private  Base64Coder(); static String encodeString(String s); static char[] encode(byte[] in); static char[] encode(byte[] in, int iLen); static String decodeString(String s); static byte[] decode(String s); static byte[] decode(char[] in);  }### Answer:
@Test public void testEncodeString() { String b64 = Base64Coder.encodeString("TestingInput"); assertEquals("VGVzdGluZ0lucHV0",b64); }