3 Replies Latest reply on Jan 30, 2014 1:04 PM by Lincoln Baxter III

    Unable to Inject into Test Class

    Max Barkley Expert

      I'm currently migrating a plugin from version 1.4.4.Final to 2.0.0.CR2 of Forge, and injection is not occurring with my new tests using furnace.


      Here is the test. Here is my pom. And here is the terminal output while running the test.


      The result is that the test fails because both of the @Inject'ed fields are null. I've tried looking at tests in the Forge repository, but I have been unable to discern what I am doing differently.


      Any help is appreciated.