}
public void testOperationEnageOperationDisengage() throws AxisFault {
AxisModule module = er.getModule(new QName("testModule"));
assertNotNull(module);
Phase predisptah;
Phase userPhase;
ArrayList globalinflow = er.getGlobalInFlow();
assertNotNull(globalinflow);
predisptah = (Phase) globalinflow.get(1);
assertNotNull(predisptah);
assertEquals(predisptah.getHandlerCount(), 0);
AxisService service = er.getService(serviceName);
assertNotNull(service);
AxisOperation operation = service.getOperation(opName);
assertNotNull(operation);
userPhase = (Phase) operation.getRemainingPhasesInFlow().get(0);
assertNotNull(userPhase);
assertEquals(0, userPhase.getHandlerCount());
operation.engageModule(module, er);
assertEquals(predisptah.getHandlerCount(), 2);
assertEquals(1, userPhase.getHandlerCount());
operation.disEngageModule(module);
assertEquals(predisptah.getHandlerCount(), 0);
assertEquals(0, userPhase.getHandlerCount());
}