1 25 package org.objectweb.easybeans.tests.environment.reference.persistencecontext; 26 27 import static org.objectweb.easybeans.tests.common.helper.EJBHelper.getBeanRemoteInstance; 28 29 import org.objectweb.easybeans.tests.common.ejbs.base.ItfCheck00; 30 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.persistencectxref.SLSBPCtxRefMethodInjection00; 31 import org.testng.annotations.BeforeMethod; 32 import org.testng.annotations.Test; 33 34 35 46 public class TestPersistenceContextRefMethodInjection { 47 48 51 private ItfCheck00 bean; 52 53 57 @BeforeMethod 58 public void startUp() throws Exception { 59 bean = getBeanRemoteInstance(SLSBPCtxRefMethodInjection00.class, ItfCheck00.class); 60 } 61 62 70 @Test 71 public void test00(){ 72 bean.check(); 73 } 74 } 75 | Popular Tags |