beanClasses.add(ConstructorInjectionPointOwner.SomeInnerClassWithInstructorInjectionPoint.class);
startContainer(beanClasses, null);
Bean<InjectionPointBeansOwner> bean = (Bean<InjectionPointBeansOwner>) getBeanManager().getBeans(InjectionPointBeansOwner.class).iterator().next();
CreationalContext<InjectionPointBeansOwner> cc = getBeanManager().createCreationalContext(bean);
InjectionPointBeansOwner owner = (InjectionPointBeansOwner) getBeanManager().getReference(bean, InjectionPointBeansOwner.class, cc);
ConstructorInjectionPointOwner.SomeInnerClassWithInstructorInjectionPoint innerClass
= getInstance(ConstructorInjectionPointOwner.SomeInnerClassWithInstructorInjectionPoint.class);
assertThat(innerClass, is(notNullValue()));
assertThat(owner.getConstructorInjectionName(), is("constructorInjection"));
assertThat(owner.getFieldInjectionName(), is("fieldInjection"));
assertThat(owner.getMethodInjectionName(), is("methodInjection"));
assertThat(owner.getProducerMethodInjectionName(), is("producerMethodInjection"));
assertThat(owner.getConstructorInjectionInstanceName(), is("constructorInjectionInstance"));
assertThat(owner.getFieldInjectionInstanceName(), is("fieldInjectionInstance"));
assertThat(owner.getMethodInjectionInstanceName(), is("methodInjectionInstance"));
assertThat(owner.getProducerMethodInjectionInstanceName(), is("producerMethodInjectionInstance"));
assertThat(owner.getObserverInjectionName(), is("observerInjection"));
assertThat(owner.getParameterizedObserverInjectionName(), is("observeParameterizedInjectionPoint"));
shutDownContainer();
}