1 25 package org.objectweb.easybeans.tests.deploymentdesc; 26 27 import org.objectweb.easybeans.tests.common.ejbs.stateful.containermanaged.xmldescriptor.ItfTransAttributeTester; 28 import org.objectweb.easybeans.tests.common.ejbs.stateful.containermanaged.xmldescriptor.SFSBTransAttributeTester; 29 import org.objectweb.easybeans.tests.common.helper.EJBHelper; 30 import org.testng.annotations.BeforeMethod; 31 import org.testng.annotations.Test; 32 33 44 public class TestTransAttribute { 45 46 49 private ItfTransAttributeTester tester; 50 51 55 @BeforeMethod 56 public void setup() throws Exception { 57 tester = EJBHelper.getBeanRemoteInstance(SFSBTransAttributeTester.class, ItfTransAttributeTester.class); 58 } 59 60 67 @Test 68 public void testMandatory() throws Exception { 69 tester.testMandatory(); 70 } 71 72 79 @Test 80 public void testRequired() throws Exception { 81 tester.testRequired(); 82 } 83 84 91 @Test 92 public void testRequiresNew() throws Exception { 93 tester.testRequiresNew(); 94 } 95 96 103 @Test 104 public void testSupports() throws Exception { 105 tester.testSupports(); 106 } 107 108 115 @Test 116 public void testNotSupported() throws Exception { 117 tester.testNotSupported(); 118 } 119 120 127 @Test 128 public void testNever() throws Exception { 129 tester.testNever(); 130 } 131 } 132 | Popular Tags |