use of io.shardingjdbc.core.parsing.integrate.asserts.SQLStatementAssert in project sharding-jdbc by shardingjdbc.
the class IntegrateSupportedSQLParsingTest method assertSupportedSQL.
@Test
public void assertSupportedSQL() {
String sql = sqlCasesLoader.getSupportedSQL(sqlCaseId, sqlCaseType, parserResultSetLoader.getParserResult(sqlCaseId).getParameters());
new SQLStatementAssert(new SQLParsingEngine(databaseType, sql, getShardingRule()).parse(), sqlCaseId, sqlCaseType).assertSQLStatement();
}
Aggregations