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