AkCollatorFactory.setCollationMode(Mode.STRICT);
final TestAISBuilder builder = new TestAISBuilder(typesRegistry);
builder.table("test", "t1");
builder.column("test", "t1", "c1", 0, "MCOMPAT", "VARCHAR", 16L, true, null, "fricostatic_sengalese_ci");
builder.basicSchemaIsComplete();
Assert.assertEquals("Expect validation failure on invalid collation", 1, builder.akibanInformationSchema()
.validate(validations).failures().size());
} catch (UnsupportedCollationException ex) {
// Okay if thrown earlier.
} finally {
AkCollatorFactory.setCollationMode(save);