public void testInjectAlternative()
{
InputStream stream = XMLTest.class.getClassLoader().getResourceAsStream("org/apache/webbeans/test/xml/alternative/alternatives.xml");
Assert.assertNotNull(stream);
WebBeansXMLConfigurator configurator = new WebBeansXMLConfigurator();
configurator.configureSpecSpecific(stream, "alternative.xml");
defineManagedBean(AlternativeComponent.class);
defineManagedBean(NotAlternativeComponent.class);
Bean<AlternativeInjector> injector = defineManagedBean(AlternativeInjector.class);