public void testUnionDefaultLong ()
{
String msg;
int compCount = -1;
int discVal = 0;
UnionDefaultLongType type;
boolean hasNoActiveMember = true;
org.omg.CORBA.Any any = null;
org.omg.DynamicAny.DynAny disc = null;
org.omg.DynamicAny.DynUnion dynAny = null;
type = new UnionDefaultLongType ();
type.win (10);
any = orb.create_any ();
UnionDefaultLongTypeHelper.insert (any, type);
dynAny = createDynAnyFromAny (any);
// test activating the default member