### Question:
DataUriSchemeParser { public static String toString(String url) { return new DataUriSchemeParser(url).lax().parse().getDataAsString(); } DataUriSchemeParser(String url); static String toString(String url); static byte[] toBytes(String url); String getCharset(); String getMimeType(); Map<String, String> getParameters(); byte[] getData(); ByteArrayInputStream getDataAsInputStream(); String getDataAsString(); synchronized DataUriSchemeParser lax(); synchronized DataUriSchemeParser allowMissingComma(boolean allowMissingComma); synchronized DataUriSchemeParser allowSlashesAfterColon(boolean allowSlashesAfterColon); synchronized DataUriSchemeParser parse(); synchronized DataUriSchemeParser parseChecked(); static final String PROTOCOL_PREFIX; static final String DEFAULT_MIME_TYPE; static final String DEFAULT_CHARSET; }### Answer:
@Test public void testBase64() { Assert.assertEquals(DataUriSchemeParser.toString( "data:;base64,"+new String(Base64.encode("hello".getBytes()))), "hello"); }