Object ior = mBeanServer_.getAttribute(objectName_, "IOR");
org.omg.CORBA.Object object = orb.string_to_object((String) ior);
EventChannelFactory factory = EventChannelFactoryHelper.narrow(object);
mBeanServer_.invoke(objectName_, "stop", new Object[0], new String[0]);
try
{
assertTrue(factory._non_existent());
} catch (OBJECT_NOT_EXIST e)
{
// expecteds
}
}