@Test
public void testSyncScopePolicy()
{
Any value = create_any();
value.insert_short((short)0xffff);
SyncScopePolicy p = (SyncScopePolicy)create_policy
(
org.omg.Messaging.SYNC_SCOPE_POLICY_TYPE.value,
value
);
assertEquals (SYNC_SCOPE_POLICY_TYPE.value, p.policy_type());
assertEquals ((short)0xffff, p.synchronization());
SyncScopePolicy p2 = (SyncScopePolicy)p.copy();
assertEquals (p.synchronization(), p2.synchronization());
p.destroy();
p2.destroy();
}