WebBeansContext webBeansContext = WebBeansContext.getInstance();
webBeansContext.getContextFactory().initRequestContext(null);
webBeansContext.getContextFactory().initApplicationContext(null);
ServiceImpl1 serviceImpl = getManager().getInstance(component);
String s = serviceImpl.service();
Assert.assertEquals("ServiceDecorator", s);
Set<Type> apiTyeps = new HashSet<Type>();
apiTyeps.add(IService.class);