1 25 package org.objectweb.easybeans.tests.environment.reference.persistenceunit; 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.persistenceunitref.SLSBPUnitRefFieldInjection00; 31 import org.testng.annotations.BeforeMethod; 32 import org.testng.annotations.Test; 33 34 45 public class TestPersistenceUnitRefFieldInjection { 46 47 50 private ItfCheck00 bean; 51 52 56 @BeforeMethod 57 public void startUp() throws Exception { 58 bean = getBeanRemoteInstance(SLSBPUnitRefFieldInjection00.class, ItfCheck00.class); 59 } 60 61 69 @Test 70 public void test00() { 71 bean.check(); 72 } 73 } 74 | Popular Tags |