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

    A @Startup component, TestNG and the embedded container?

    paulmkeogh

      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,