3 Replies Latest reply on Apr 5, 2015 3:01 AM by rajesh_parab

    Your tutorial

    dennis.duggan

      I just started using Arquillian so I went through your tutorial.  I get a failure because the inject of the greeter doesn't work correctly. I added in another Assert:

       

          @Test

          public void should_create_greeting() {

              Assert.assertNotNull( "No greeter injected!! ", greeter );

              Assert.assertEquals( "Hello, Earthling!", greeter.createGreeting( "Earthling" ) );

              greeter.greet(System.out, "Earthling");

          }

      and sure enough greeter is always null.  Is there something missing from the tutorial?  Is it supposed to work?

       

      Thanks!