title: Unit tests in Jboss 7
body: <p>I want to test a set of classes but my environment is based on Jboss 7. </p>
  
  <p>In those classes, I have a lot fields that are injected with <code>@Inject</code> but when I run my tests, those fields are <code>Null</code>. </p>
  
  <p>I was wondering if there were some "JbossRunner", like <code>Springjunit4classrunner</code> where it can inject the fields in my classes. I am using mockito for mocking the fields (which are services) in my classes.</p>
  
  <p>I already have successfully use Spring and mockito. </p>
  
  <p>Any idea how to do this? </p>