result = CorbaHandlerUtils.createTypeHandler(orb, objName, objIdlType, typeMaps);
assertTrue(result instanceof CorbaUnionHandler);
}
public void testInitializeObjectHandler() {
CorbaBindingImpl bindingImpl = new CorbaBindingImpl(bus,
testUtils.getComplexTypesEndpointReference(),
orb,
false);
QName objName = null;
QName objIdlType = null;
CorbaObjectHandler result = null;
List<CorbaTypeMap> typeMaps = bindingImpl.getCorbaTypeMaps();
// Test for an array handler
objName = new QName("object");
objIdlType = new QName(complexTypesNamespaceURI, "TestArray", complexTypesPrefix);
result = CorbaHandlerUtils.initializeObjectHandler(orb, objName, objIdlType, typeMaps);