@Test
public void joinOrderMismatch() {

    builder.table("j7").colInt("c1").colString("c2", 10).joinTo("t2").on("c2", "c2").and("c1", "c1");
    Collection<AISValidationFailure> failures = builder.unvalidatedAIS().validate(validations).failures();
    Assert.assertEquals(2, failures.size());
}