public void testClientProtocolPolicyWIOP() throws Exception
{
RTORB rtORB = RTORBHelper.narrow(clientOrb.resolve_initial_references("RTORB"));
ClientProtocolPolicy policy = rtORB.create_client_protocol_policy(new Protocol[] {new Protocol(new WIOPFactories().profile_tag(), null, null)});
basicServer._set_policy_override(new Policy[] {policy}, SetOverrideType.SET_OVERRIDE);
basicServer.ping();
assertTrue("should use WIOP as transport", WIOPFactories.isTransportInUse());