public AlterTest(String arg0) {
super(arg0);
}
public void testAlterTableAddColumn() throws JSQLParserException {
Statement stmt = CCJSqlParserUtil.parse("ALTER TABLE mytable ADD COLUMN mycolumn varchar (255)");
assertTrue(stmt instanceof Alter);
Alter alter = (Alter)stmt;
assertEquals("mytable",alter.getTable().getFullyQualifiedName());
assertEquals("mycolumn", alter.getColumnName());
assertEquals("varchar (255)", alter.getDataType().toString());