public class InitializationTest
{
@Test
public void testInitialization()
{
MockServletContext servletContext = new MockServletContext();
new Initialization(servletContext).init();
assert !servletContext.getAttributes().isEmpty();
assert servletContext.getAttributes().containsKey( Seam.getComponentName(Manager.class) + ".component" );
assert servletContext.getAttributes().containsKey( Seam.getComponentName(Foo.class) + ".component" );
assert !Contexts.isApplicationContextActive();
}