assertEquals(6, typemap.getElementsByTagName("corba:union").getLength());
assertEquals(14, typemap.getElementsByTagName("corba:struct").getLength());
assertEquals(1, typemap.getElementsByTagName("corba:enum").getLength());
assertEquals(1, typemap.getElementsByTagName("corba:array").getLength());
WSDLToIDLAction idlgen = new WSDLToIDLAction();
idlgen.setBindingName("XCORBABinding");
idlgen.setOutputFile("nested_complex.idl");
idlgen.generateIDL(model);
File f = new File("nested_complex.idl");
assertTrue("nested_complex.idl should be generated", f.exists());
} finally {
new File("nested_complex.idl").deleteOnExit();