Description
In the following test case:
class A {} class B extends A {} class Bean { @Inject A a; } public class TestExtension implements Extension { void test(@Observes ProcessInjectionPoint<?, B> pip) { } } @RunWith(Arquillian.class) public class OwbTest { @Deployment public static Archive<?> deployment() { return ShrinkWrap.create(JavaArchive.class) .addClasses(A.class, B.class, Bean.class) .addAsServiceProvider(Extension.class, TestExtension.class) .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml"); } @Test public void test() { } }
The lifecycle observer method is called.
I cannot find a valid reason from the specification that would explain that behaviour.