@Test
public void testSetQos() throws Exception
{
IntHolder ih = new IntHolder();
ProxySupplier ps = consumerAdmin_.obtain_notification_push_supplier(
ClientType.STRUCTURED_EVENT, ih);
Property[] props = new Property[2];
Any discardPolicy = setup.getClientOrb().create_any();
Any orderPolicy = setup.getClientOrb().create_any();
discardPolicy.insert_short(LifoOrder.value);
orderPolicy.insert_short(AnyOrder.value);
props[0] = new Property(DiscardPolicy.value, discardPolicy);
props[1] = new Property(OrderPolicy.value, orderPolicy);
ps.set_qos(props);
Property[] new_props = ps.get_qos();
for (int x = 0; x < new_props.length; ++x)
{
if (new_props[x].name.equals(DiscardPolicy.value))
{