SQLStatement<?> stmt = stmtIt.next();
assertEquals("thirdUpdate", update, stmt);
assertEquals("thirdUpdate:parse", parser(update).UpdateStatement(), parser(stmt).UpdateStatement());
}
{
SQLDelete delete = new SQLDelete(
new Table(new TableName("Person", null), null),
new ListCondition(new FieldValue(null, "partyId"), "IN", GenericTestCaseBase.<Value>list(new StringValue("a"), new StringValue("b")))
);
SQLStatement<?> stmt = stmtIt.next();
assertEquals("firstDelete", delete, stmt);
assertEquals("firstDelete:parse", parser(delete).DeleteStatement(), parser(stmt).DeleteStatement());
}
{
SQLDelete delete = new SQLDelete(
new Table(new TableName("Party", null), null),
new ListCondition(new FieldValue(null, "partyId"), "IN", GenericTestCaseBase.<Value>list(new StringValue("a"), new StringValue("b")))
);
SQLStatement<?> stmt = stmtIt.next();
assertEquals("secondDelete", delete, stmt);