If you're using integration tests, Seam will proxy the EM.
If you're writing a unit test, and creating your own EM from an EMF, you need to do:
EntityManager em = new EntityManagerProxy( emf.createEntityManager() );
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036902#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...