* This test adds a scope and tests if the lifecycle works
*/
@Test
public void testScopeExtension()
{
addExtension(new ExternalTestScopeExtension());
startContainer(ExternalTestScopedBean.class);
WebBeansContext webBeansContext = WebBeansContext.getInstance();
webBeansContext.getContextFactory().initApplicationContext(null);