0 Replies Latest reply on Jan 18, 2007 3:50 AM by Yoav Al

    Test seam

    Yoav Al Newbie

      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:

      private EntityManager entityManager;

      when i write test for the ejb i get exception,
      how can I make my test work?