Class BasicMdbTests

All Implemented Interfaces:
junit.framework.Test

public class BasicMdbTests extends MdbTestClient
[5] Should be run as the fifth test suite of the BasicStatelessTestClients
  • Field Details

  • Constructor Details

    • BasicMdbTests

      public BasicMdbTests()
  • Method Details

    • setUp

      protected void setUp() throws Exception
      Description copied from class: MdbTestClient
      Sets up the fixture, for example, open a network connection. This method is called before a test is executed.
      Overrides:
      setUp in class MdbTestClient
      Throws:
      Exception
    • tearDown

      protected void tearDown() throws Exception
      Overrides:
      tearDown in class NumberedTestCase
      Throws:
      Exception
    • test01_businessMethod

      public void test01_businessMethod()
    • Xtest02_throwApplicationException

      public void Xtest02_throwApplicationException()
      Throw an application exception and make sure the exception reaches the bean nicely.
    • test03_invokeAfterApplicationException

      public void test03_invokeAfterApplicationException()
      After an application exception we should still be able to use our bean
    • Xtest04_throwSystemException

      public void Xtest04_throwSystemException()
    • TODO_test05_invokeAfterSystemException

      public void TODO_test05_invokeAfterSystemException()
      After a system exception the intance should be garbage collected and the remote reference should be invalidated. This one seems to fail. we should double-check the spec on this.