Examples of UnsetEntityContext


Examples of org.jboss.test.entity.interfaces.UnsetEntityContext

      home.clearUnsetEntityContextCallCounter();
     
      // after this call the counter should be 2
      assertEquals("UnsetEntityContextCallCount", 1, home.getUnsetEntityContextCallCounter());
     
      UnsetEntityContext bean = home.create("TestBean");
      // after this call the counter should be 3 (the bean should be returned to the pool?)
      bean.remove();
     
      // after this call the counter should be 4
      // TODO - this assertion fails!
      // assertEquals("UnsetEntityContextCallCount", 3, home.getUnsetEntityContextCallCounter());
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.