### Question:
DataxUtils { public static SQLStatementParser getSqlStatementParser(DbType dbType, String sql) { switch (dbType) { case MYSQL: return new MySqlStatementParser(sql); case POSTGRESQL: return new PGSQLStatementParser(sql); case ORACLE: return new OracleStatementParser(sql); case SQLSERVER: return new SQLServerStatementParser(sql); default: return null; } }  static String getReaderPluginName(DbType dbType); static String getWriterPluginName(DbType dbType); static SQLStatementParser getSqlStatementParser(DbType dbType, String sql); static String[] convertKeywordsColumns(DbType dbType, String[] columns); static String doConvertKeywordsColumn(DbType dbType, String column); static final String DATAX_READER_PLUGIN_MYSQL; static final String DATAX_READER_PLUGIN_POSTGRESQL; static final String DATAX_READER_PLUGIN_ORACLE; static final String DATAX_READER_PLUGIN_SQLSERVER; static final String DATAX_WRITER_PLUGIN_MYSQL; static final String DATAX_WRITER_PLUGIN_POSTGRESQL; static final String DATAX_WRITER_PLUGIN_ORACLE; static final String DATAX_WRITER_PLUGIN_SQLSERVER; }### Answer:
@Test public void testGetSqlStatementParser() throws Exception { assertTrue(DataxUtils.getSqlStatementParser(DbType.MYSQL, "select 1") instanceof MySqlStatementParser); assertTrue(DataxUtils.getSqlStatementParser(DbType.POSTGRESQL, "select 1") instanceof PGSQLStatementParser); assertTrue(DataxUtils.getSqlStatementParser(DbType.ORACLE, "select 1") instanceof OracleStatementParser); assertTrue(DataxUtils.getSqlStatementParser(DbType.SQLSERVER, "select 1") instanceof SQLServerStatementParser); assertTrue(DataxUtils.getSqlStatementParser(DbType.DB2, "select 1") == null); }