* Test initializing a DynAny object from another DynAny object.
*/
public void testInitDynAnyFromDynAny ()
{
String msg;
UnionDefaultIntType type;
org.omg.CORBA.Any any = null;
org.omg.CORBA.TypeCode tc = null;
org.omg.DynamicAny.DynUnion dynAny = null;
org.omg.DynamicAny.DynUnion dynAny2 = null;
tc = UnionDefaultIntTypeHelper.type ();
dynAny = createDynAnyFromTypeCode (tc);
type = new UnionDefaultIntType ();
type.win (10);
any = orb.create_any ();
UnionDefaultIntTypeHelper.insert (any, type);
dynAny2 = createDynAnyFromAny (any);
msg = "Failed to initialize a DynAny object from another DynAny ";