1   
2   
3   
4   
5   
6   
7   
8   
9   package bexee.dao;
10  
11  import junit.framework.TestCase;
12  
13  /***
14   * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:20 $
15   * @author Patric Fornasier
16   * @author Pawel Kowalski
17   */
18  public class JDODAOFactoryTest extends TestCase {
19  
20      private JDODAOFactory factory;
21  
22      protected void setUp() throws Exception {
23          super.setUp();
24  
25          factory = new JDODAOFactory();
26      }
27  
28      /***
29       * Test if we got the right type.
30       */
31      public void testCreateBPELProcessDAO() {
32          assertTrue(factory.createBPELProcessDAO() instanceof JDOBPELProcessDAO);
33      }
34  
35      /***
36       * Test if we got the right type.
37       */
38      public void testCreateProcessContextDAO() {
39          assertTrue(factory.createProcessContextDAO() instanceof JDOProcessContextDAO);
40      }
41  
42  }