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",
str.getType().getLocalPart());
Union un = (Union)mapType.getStructOrExceptionOrUnion().get(7);
assertEquals("Name is incorrect for Union Type", "attrib2Type_nil",
un.getName());
assertEquals("Type is incorrect for Union Type", "attrib2",