1 25 package org.objectweb.easybeans.tests.sessionbean.stateless.sbinterface; 26 27 import static org.objectweb.easybeans.tests.common.helper.EJBHelper.getBeanRemoteInstance; 28 29 import org.objectweb.easybeans.tests.common.ejbs.base.ItfCheck01; 30 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.callbacklogger.ItfCallbackLoggerAccess; 31 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.callbacklogger.SLSBCallbackLoggerAccess; 32 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.sbinterface.SLSBSessionBeanInterface00; 33 import org.testng.annotations.BeforeMethod; 34 import org.testng.annotations.Test; 35 36 41 public class TestSLSessionBeanInterface { 42 43 46 private ItfCheck01 bean; 47 48 51 private ItfCallbackLoggerAccess beanLogger; 52 53 57 @BeforeMethod 58 public void startUp() throws Exception { 59 bean = getBeanRemoteInstance(SLSBSessionBeanInterface00.class, ItfCheck01.class); 60 beanLogger = getBeanRemoteInstance(SLSBCallbackLoggerAccess.class, ItfCallbackLoggerAccess.class); 61 beanLogger.deleteAll(); 62 } 63 64 70 @Test 71 public void verifySessionContext() throws Exception { 72 bean.check(); 73 } 74 75 81 public void verifyEjbRemove() throws Exception { 83 } 85 } 86 | Popular Tags |