@Deployment
public static WebArchive createTestArchive() {
return createBuilderBase()
.withTestClass(SelectedAlternative05Test.class)
.withBeansXml(
new Beans11DescriptorImpl().alternatives(new BeansXmlClass(Bar.class, true), new BeansXmlClass(
BarProducer.class, true), new BeansXmlStereotype(SelectedStereotype.class, true)))
.withClasses(Alpha.class, SimpleTestBean.class)
.withBeanLibrary(
new Beans11DescriptorImpl().alternatives(new BeansXmlClass(Foo.class, 1000), new BeansXmlStereotype(
SelectedStereotype.class, false, 60)), Bravo.class, Foo.class, Baz.class)
.withBeanLibrary(
new Beans11DescriptorImpl().alternatives(new BeansXmlClass(Bar.class, false, 2000), new BeansXmlClass(
BarProducer.class, false, 1100)), Charlie.class, Bar.class, BarProducer.class).build();
}