Really? A concrete example of what I would like to do, would be to run the "RegisterTest" with a mocked em instance, to test that the session-bean-logic and the navigation flow is working as expected, but without actually insering anything into any database.
This (imho) should be very usefull if the "register.register()" call does some validation that needs testing and/or the data insertion into the database requires that data is already present in the database (roles, groups etc). Do you in this case mean that I should run this test without mc/EEJB? If so how do I inject my mocked em? Thanks /Magnus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918368#3918368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918368 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
