degu.test.model
Class DeguDocStorageBeanTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by degu.test.model.DeguDocStorageBeanTest
All Implemented Interfaces:
junit.framework.Test

public class DeguDocStorageBeanTest
extends junit.framework.TestCase

EJB Test Client


Field Summary
protected  DeguDocStorageHome home
          Home interface
 
Constructor Summary
DeguDocStorageBeanTest()
           
DeguDocStorageBeanTest(java.lang.String arg0)
           
 
Method Summary
protected  DeguDocStorageHome getHome()
          Get the home interface
protected  javax.naming.Context getInitialContext()
          Get the initial naming context
protected  void setUp()
          Set up the test case
 void testGetDeguDocument()
          Test for degu.model.degudocstorage.interfaces.DeguDocStorage.getDeguDocument()
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

home

protected DeguDocStorageHome home
Home interface

Constructor Detail

DeguDocStorageBeanTest

public DeguDocStorageBeanTest()

DeguDocStorageBeanTest

public DeguDocStorageBeanTest(java.lang.String arg0)
Method Detail

getInitialContext

protected javax.naming.Context getInitialContext()
                                          throws java.lang.Exception
Get the initial naming context

Throws:
java.lang.Exception

getHome

protected DeguDocStorageHome getHome()
                              throws java.lang.Exception
Get the home interface

Throws:
java.lang.Exception

setUp

protected void setUp()
              throws java.lang.Exception
Set up the test case

Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testGetDeguDocument

public void testGetDeguDocument()
Test for degu.model.degudocstorage.interfaces.DeguDocStorage.getDeguDocument()

Throws:
javax.ejb.RemoveException