@Test
public void joinOneToTwoMismatch() {

    builder.table("j4").colInt("c1").joinTo("t2").on("c1", "c1");
    Collection<AISValidationFailure> failures = builder.unvalidatedAIS().validate(validations).failures();
    Assert.assertEquals(1, failures.size());
    AISValidationFailure fail = failures.iterator().next();
    Assert.assertEquals(ErrorCode.JOIN_COLUMN_MISMATCH, fail.errorCode());
}