### Question:
SqlScriptsUtils extends ModulePluginUtils { public static Map<String, String> analyzeSqlFile(InputStream input, String encoding) { try { return analyzeSqlFile(new BufferedReader(new InputStreamReader(input, encoding))); } catch (UnsupportedEncodingException e) { log.error(e.getMessage(), e); return new LinkedHashMap<String, String>(); } }  static void modulesSqlScriptsInit(DataBaseType dataBaseType, DataSource ds); static void batchExcuteSqlScripts(List<Resource> resources, DataSource ds); static void excuteSqlScripts(List<Resource> resources, DataSource ds); static Map<String, String> analyzeSqlFile(InputStream input, String encoding); static Map<String, String> analyzeSqlFile(InputStream input); static Map<String, String> analyzeSqlFile(String sqlString); static Map<String, String> analyzeSqlFile(BufferedReader reader); static void executeBatchSql(Map<String, String> sqlMap, DataSource ds); static void executeSql(Map<String, String> sqlMap, DataSource ds); static String SQL_SEMICOLON; static String SQL_NOTE; }### Answer:
@Test public void testAnalyzeSqlFile() { InputStream input = this.getClass().getResourceAsStream("/sql-init-mysql-core.sql"); SqlScriptsUtils.analyzeSqlFile(input, "UTF-8"); }