}
public void testCreateIndex2() throws JSQLParserException {
String statement =
"CREATE mytype INDEX myindex ON mytab (mycol, mycol2)";
CreateIndex createIndex = (CreateIndex) parserManager.parse(new StringReader(statement));
assertEquals(2, createIndex.getIndex().getColumnsNames().size());
assertEquals("myindex", createIndex.getIndex().getName());
assertEquals("mytype", createIndex.getIndex().getType());
assertEquals("mytab", createIndex.getTable().getFullyQualifiedName());
assertEquals("mycol2", createIndex.getIndex().getColumnsNames().get(1));
assertEquals(statement, ""+createIndex);
}