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