0 Replies Latest reply on Jan 30, 2009 9:20 AM by Paul Keogh

    A @Startup component, TestNG and the embedded container?

    Paul Keogh Novice

      I'm having trouble testing a component which injects another @startup component.


      The test throws a NPE because the injected @startup component is null, although I can see its constructor being called.


      Should this work out of the box ? or is there some magic I need to apply ?


      Thanks,