// Deconfigure services
// The code below should be put into a ServletContextListener.contextDestroyed()
// method, so that it is triggered by the web application lifecycle handling
Assert.assertTrue(processor.deprocess(service));
// Manually stop the BayeuxServer
bayeuxServer.stop();
assertFalse(service.active);
}
}