org.objectweb.easybeans.tests.interceptors.business
Class TestBeanInheritance00

java.lang.Object
  extended by org.objectweb.easybeans.tests.interceptors.business.TestBeanInheritance00

public class TestBeanInheritance00
extends java.lang.Object

Verifies if the bean inheritance is following the JSR220 spec.

Author:
Gisele Pinheiro Souza, Eduardo Studzinski Estima de Castro
Reference:
JSR220-PROPOSED FINAL
Requirement:
Application Server must be running; the bean org.objectweb.easybeans.tests.common.ejbs.stateless.SLSB*Inheritance* must be deployed.
Setup:
gets the reference of SLSBClassInterceptorTest00

Field Summary
private  ItfAddElement mtBean00
          Bean used to implement the test.
private  ItfAddElement mtBean01
          Bean used to implement the test.
 
Constructor Summary
TestBeanInheritance00()
           
 
Method Summary
 void startUp()
          Creates a bean to be used in the tests.
 void test00()
          Verifies if the bean business method is running correctly.
 void test01()
          Verifies if the bean business method is running correctly.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mtBean00

private ItfAddElement mtBean00
Bean used to implement the test.


mtBean01

private ItfAddElement mtBean01
Bean used to implement the test.

Constructor Detail

TestBeanInheritance00

public TestBeanInheritance00()
Method Detail

startUp

public void startUp()
             throws java.lang.Exception
Creates a bean to be used in the tests.

Throws:
java.lang.Exception - if there is a problem with the bean initialization.

test00

public void test00()
Verifies if the bean business method is running correctly. The bean business method is implemented by a extended class that implements an interface. The bean doesn't have any

Input:
List with no values inside.
Output:
List with only one value, the value inserted by the method.

test01

public void test01()
Verifies if the bean business method is running correctly. The bean business method is implemented by a extended class that implements an interface. The bean has a

Input:
List with no values inside.
Output:
List with only one value, the value inserted by the method.