2 Replies Latest reply on Oct 28, 2010 4:50 AM by jaikiran pai

    Bootstraping Weld Extension in unit test

    Franck Garcia Newbie

      Hi there,

       

      I'm new to Arquilian. I have a weld se project where my class under test uses the beautiful @Inject Logger logger produced by the Weld Extension library. I cannot use ShrinkWrap.create(JavaArchive.class).addClasses(LoggerProducer.class) as this class is protected. What's the solution here? Thanks,

       

      WELD-001408 Unsatisfied dependencies for type [Logger] with qualifiers [@Default] at injection point [[field] @Inject private com.acme.search.index.extractor.jdbc.GSSJDBCEntryExtractor.logger]