The tests under the branch v3_2_1_GA_CP had a patch
EJB-394, based on
EJB-393, but slightly different. The method name for getting or creating a new entity manager become getOrCreateEntityManager, while in trunk it is getEntityManager. So, the attached patch makes it consistent.
Also, a fix for the previously "getEntityManager(Map)" (now createEntityManager) is included, as stated on JBPAPP-1271