scope.onEvent(new HttpSessionEnd(this, session));
Assert.assertTrue(comp2.isDestroyed());
scope.onEvent(new HttpSessionEnd(this, session2));
Assert.assertTrue(comp3.isDestroyed());
scope.stop();
}
private List<ContextFactory<Context>> createConfigurations() throws BuilderException, ConfigurationLoadException {
WireFactoryService wireService = new DefaultWireFactoryService(new MessageFactoryImpl(), new JDKWireFactoryFactory(), new DefaultPolicyBuilderRegistry());
JavaContextFactoryBuilder builder = new JavaContextFactoryBuilder(wireService);