assertNotNull(typemap);
assertEquals(1, typemap.getElementsByTagName("corba:anonfixed").getLength());
assertEquals(1, typemap.getElementsByTagName("corba:anonstring").getLength());
assertEquals(3, typemap.getElementsByTagName("corba:struct").getLength());
TypeMappingType mapType = (TypeMappingType)model.getExtensibilityElements().get(0);
WSDLToIDLAction idlgen = new WSDLToIDLAction();
idlgen.setBindingName("XCORBABinding");
idlgen.setOutputFile("atype.idl");
idlgen.generateIDL(model);
Anonstring str = (Anonstring)mapType.getStructOrExceptionOrUnion().get(2);
assertEquals("Name is incorrect for Array Type", "X._1_S",
str.getName());
assertEquals("Type is incorrect for AnonString Type", "string",
str.getType().getLocalPart());
Anonfixed fx = (Anonfixed)mapType.getStructOrExceptionOrUnion().get(3);
assertEquals("Name is incorrect for Anon Array Type", "X._2_S",
fx.getName());
assertEquals("Type is incorrect for AnonFixed Type", "decimal",
fx.getType().getLocalPart());
Struct struct = (Struct)mapType.getStructOrExceptionOrUnion().get(1);
assertEquals("Name is incorrect for Anon Array Type", "X.S",
struct.getName());
assertEquals("Type is incorrect for Struct Type", "X.S",
struct.getType().getLocalPart());
assertEquals("Name for first Struct Member Type is incorrect", "str",