AlternativesManager manager = WebBeansContext.getInstance().getAlternativesManager();
Assert.assertTrue(manager.isBeanHasAlternative(alternative1));
Assert.assertTrue(manager.isBeanHasAlternative(alternative2));
manager.clear();
}
@Test(expected=WebBeansConfigurationException.class)
public void testDoubleAlternativeClass()