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.SLSBPCtxRefFieldInjection00; 31 import org.testng.annotations.BeforeMethod; 32 import org.testng.annotations.Test; 33 34 44 public class TestPersistenceContextRefFieldInjection { 45 46 49 private ItfCheck00 bean; 50 51 55 @BeforeMethod 56 public void startUp() throws Exception { 57 bean = getBeanRemoteInstance(SLSBPCtxRefFieldInjection00.class, 58 ItfCheck00.class); 59 } 60 61 69 @Test 70 public void test00() { 71 bean.check(); 72 } 73 } 74 | Popular Tags |