3 Replies Latest reply on Jan 29, 2008 6:48 AM by Hussein Baghdadi

    Testing with Seam managed Hibernate sessions

    Hussein Baghdadi Novice

      Hi.
      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)?
      Thanks.