public void testIndexNames() {
SQLGenerator gen = sqlFactory.newSQLGenerator();
Table table = getBasicTable();
for (int i = 0; i < 10; i++) {
Index index = table.newIndex();
index.addColumn("MyName");
String s = (String) gen.getCreate(index).iterator().next();
assertEquals("CREATE INDEX MyTable_I" + i + " ON MySchema.MyTable (MyName)", s);
}
Collection coll = gen.getCreate(schema, true);