title: How to inject PesistenceContext in my tests using EJB 3.1?
body: <p>Hi in Spring it's easy to do so... as Spring doesn't require an Container, you just add an @autowired and it's done.</p>
  
  <p>But in EJB 3.1, using @Inject is useless if the app is not deployed... I am getting nullpointer and it's looks logical to get them, because of the lack of a container during tests.</p>
  
  <p>How can I inject a PersistenceContext into my <strong>TESTS</strong> for example using only EJB 3.1 features ? is it possible without a container ?</p>