use of io.shardingjdbc.core.parsing.integrate.jaxb.token.ExpectedTableToken in project sharding-jdbc by shardingjdbc.
the class TableTokenAssert method assertTableTokens.
void assertTableTokens(final List<SQLToken> actual, final ExpectedTokens expected) {
List<TableToken> tableTokens = getTableTokens(actual);
assertThat(assertMessage.getFullAssertMessage("Table tokens size error: "), tableTokens.size(), is(expected.getTableTokens().size()));
int count = 0;
for (ExpectedTableToken each : expected.getTableTokens()) {
assertTableToken(tableTokens.get(count), each);
count++;
}
}
Aggregations