TypeMappingType mapType = (TypeMappingType)model.getExtensibilityElements().get(0);
WSDLToIDLAction idlgen = new WSDLToIDLAction();
idlgen.setBindingName("TypeInheritanceCORBABinding");
idlgen.setOutputFile("typeInherit.idl");
idlgen.generateIDL(model);
Anonstring str = (Anonstring)mapType.getStructOrExceptionOrUnion().get(6);
assertEquals("Name is incorrect for AnonString Type", "attrib2Type",
str.getName());
assertEquals("Type is incorrect for AnonString Type", "string",