The same problem might apply to org.jboss.cdi.tck.tests.extensions.lifecycle.processBeanAttributes.VerifyValuesTest.
There is a class
@Alternative
|
public class Mike {}
|
and the test checks that there is no ProcessBeanAttributes fired for this class (because it's a not-enabled alternative). But what happens if I would like to return false in BeanAttributes#isAlternative(). Whether that bean ends up enabled or not can imo only be judged after ProcessBeanAttributes.
|