i have an EJB that uses entityManager.
the entityManager is injected throw seam.
on my application every thing works fine,
the persistence.xml define the DS and the entityManager JNDI lookup,
the component is created by seam as defined in the components.xml.
in my EJB i have this:
@In(create=true)
private EntityManager entityManager;
when i write test for the ejb i get exception,
how can I make my test work?