FileDocCategorySizeDatePackage
AspectDomainUnitTestCase.javaAPI DocJBoss 4.2.12208Fri Jul 13 20:53:42 BST 2007org.jboss.ejb3.test.aspectdomain.unit

AspectDomainUnitTestCase

public class AspectDomainUnitTestCase extends org.jboss.test.JBossTestCase
Comment
author
William DeCoste
version
$Revision: 60233 $

Fields Summary
private static final Logger
log
Constructors Summary
public AspectDomainUnitTestCase(String name)


     
   
      super(name);
   
Methods Summary
public static junit.framework.Testsuite()

      return getDeploySetup(AspectDomainUnitTestCase.class, "aspectdomain.jar");
   
public voidtestAspectDomain()

     Stateful stateful = (Stateful)getInitialContext().lookup("Stateful");
     String result = stateful.test();
     assertEquals("TestInterceptor", result);
   
public voidtestDeploymentDescriptorAspectDomain()

     Stateful stateful = (Stateful)getInitialContext().lookup("DeploymentDescriptorStateful");
     String result = stateful.test();
     assertEquals("TestInterceptor", result);