1 25 package org.objectweb.easybeans.tests.environment.reference.ejb; 26 27 import static org.objectweb.easybeans.tests.common.helper.EJBHelper.getBeanRemoteInstance; 28 29 import org.objectweb.easybeans.tests.common.ejbs.base.ItfEJBRef; 30 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.ejbref.SLSBEjbRefMethodInjection; 31 import org.testng.annotations.BeforeMethod; 32 import org.testng.annotations.Test; 33 34 35 45 public class TestEJBRefMethodInjection { 46 47 50 private ItfEJBRef bean; 51 52 56 @BeforeMethod 57 public void startUp() throws Exception { 58 bean = getBeanRemoteInstance(SLSBEjbRefMethodInjection.class, ItfEJBRef.class); 59 } 60 61 65 @Test 66 public void test00(){ 67 bean.check00(); 68 } 69 70 74 @Test 75 public void test01(){ 76 bean.check01(); 77 } 78 79 83 @Test 84 public void test02(){ 85 bean.check02(); 86 } 87 88 92 @Test 93 public void test03(){ 94 bean.check03(); 95 } 96 97 101 @Test 102 public void test04(){ 103 bean.check04(); 104 } 105 106 110 @Test 111 public void test05(){ 112 bean.check05(); 113 } 114 115 119 @Test 120 public void test06(){ 121 bean.check06(); 122 } 123 124 } 125 | Popular Tags |