public void testEquals() {
DefDescriptor<EventDef> desc = DefDescriptorImpl.getInstance("fake:event", EventDef.class);
DefDescriptor<EventDef> ext = DefDescriptorImpl.getInstance("fake:extendevent", EventDef.class);
EventDefImpl def = vendor
.makeEventDef(desc, EventType.COMPONENT, null, new Location("filename1", 5, 5, 0), ext);
EventDefImpl def2 = vendor.makeEventDef(desc, EventType.COMPONENT, null, new Location("filename1", 5, 5, 0),
ext);
assertEquals(def, def2);
}