public void testAlternativeExtenson()
{
addExtension(new AlternativeExtension());
startContainer(Egg.class, HalfEgg.class);
Egg egg = getInstance(Egg.class);
Assert.assertTrue(egg instanceof Egg);
Assert.assertFalse(egg instanceof HalfEgg);
Set<Bean<?>> beans = getBeanManager().getBeans(HalfEgg.class);
Assert.assertTrue(beans == null || beans.size() == 0);