[jboss-user] [JBoss Seam] - Testing with Seam managed Hibernate sessions

hubaghdadi do-not-reply at jboss.com
Sun Jan 27 02:12:41 EST 2008

I'm trying to create a Seam POJO war application (JavaBeans and entities).
For persistence, I'm using Seam managed Hibernate sessions.
How to unit testing those classes that get Session object injected into them?
(I know how to inject an object in a unit test, but how to boot and get a Seam managed Session object in a unit test code)?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123809#4123809

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123809

More information about the jboss-user mailing list