public void testSerialize() throws Exception {
Set<DefDescriptor<InterfaceDef>> extensions = new HashSet<>();
extensions.add(vendor.makeInterfaceDefDescriptor("aura:testinterfaceparent"));
Map<DefDescriptor<AttributeDef>, AttributeDef> attributes = new HashMap<>();
AttributeDef attDef = new AttributeDefImpl(DefDescriptorImpl.getInstance("Fake Attribute", AttributeDef.class),
null, null, null, false, AttributeDef.SerializeToType.BOTH, null, null);
attributes.put(attDef.getDescriptor(), attDef);
DefDescriptor<EventDef> eventTestDescriptor = DefDescriptorImpl.getInstance("aura:testevent", EventDef.class);
RegisterEventDef regEventDef = vendor.makeRegisterEventDefWithNulls(eventTestDescriptor, true, null);
Map<String, RegisterEventDef> eventDefs = new HashMap<>();
eventDefs.put("ass", regEventDef);
InterfaceDefImpl intDef2 = vendor.makeInterfaceDefWithNulls(