@Test
public void reportCauses() {

    try {
        CombinedSchema.allOf(SUBSCHEMAS).build().validate(24);
        Assert.fail("did not throw exception");
    } catch (ValidationException e) {
        assertEquals(1, e.getCausingExceptions().size());
    }
}