checkExceptionFull(e, InvalidDefinitionException.class, "Cannot declare an Event attribute as private");
}
}
public void testValidateReferences() throws Exception {
FakeRegistry fake = createFakeRegistry();
EventDefImpl ed = vendor.makeEventDef();
EventDefImpl extendsED = vendor.makeEventDef(vendor.getParentEventDefDescriptor(), null);
fake.putDefinition(extendsED);
ed.validateReferences();
}