1 25 package org.objectweb.easybeans.tests.persistence.lifetime; 26 27 import static org.objectweb.easybeans.tests.common.helper.EJBHelper.getBeanRemoteInstance; 28 29 import org.objectweb.easybeans.tests.common.ejbs.base.persistencectxlife.ItfPCtxLifeCMETest00; 30 import org.objectweb.easybeans.tests.common.ejbs.stateful.beanmanaged.persistencectxlife.SFSBBeanManagedPCtxLifeCMETest00; 31 import org.testng.annotations.BeforeMethod; 32 import org.testng.annotations.Test; 33 34 45 public class TestPersistenceLifetimeCMExtended02 { 46 47 50 private ItfPCtxLifeCMETest00 bean; 51 52 56 @BeforeMethod 57 public void startUp() throws Exception { 58 bean = getBeanRemoteInstance(SFSBBeanManagedPCtxLifeCMETest00.class, ItfPCtxLifeCMETest00.class); 59 } 60 61 72 @Test 73 public void test00() throws Exception { 74 bean.create(); 75 bean.check(); 76 } 77 } 78 | Popular Tags |