assertEquals(1, typemap.getElementsByTagName("corba:union").getLength());
assertEquals(1, typemap.getElementsByTagName("corba:enum").getLength());
WSDLToIDLAction idlgen = new WSDLToIDLAction();
idlgen.setBindingName("Test.MultiPartCORBABinding");
idlgen.setOutputFile("uniontype.idl");
idlgen.generateIDL(model);
File f = new File("uniontype.idl");
assertTrue("uniontype.idl should be generated", f.exists());
} finally {
new File("uniontype.idl").deleteOnExit();