{
MockServletContext servletContext = new MockServletContext();
ServletLifecycle.beginApplication(servletContext);
final MockExternalContext externalContext = new MockExternalContext(servletContext);
Context appContext = new ApplicationContext( externalContext.getApplicationMap() );
appContext.set( Seam.getComponentName(Init.class), new Init() );
appContext.set( Seam.getComponentName(ConversationEntries.class) + ".component",
new Component(ConversationEntries.class, appContext) );
appContext.set( Seam.getComponentName(Manager.class) + ".component",
new Component(Manager.class, appContext) );
appContext.set( Seam.getComponentName(Foo.class) + ".component",