    1   /***
    2    * JFoxSOAF, Service-Oriented Application Framework
    3    *
    4    * Copyright (C) www.huihoo.org
    5    *
    6    * Distributable under GNU LGPL For more information, please visit:
    7    * http://www.huihoo.org/jfox/jfoxsoaf
    8    */
    9
    10  package org.huihoo.jfox.soaf.services.persistence;
    11
    12  import junit.framework.TestCase;
    13
    14  /***
    15   * JUnit test case for the IbatisServiceImpl
    16   * {@link org.huihoo.jfox.soaf.services.persistence.IbatisServiceImpl).
    17   *
    18   * @author <a href="mailto:founder_chen@yahoo.com">Peter Cheng </a>
    19   * @version $Revision: 1.2 $ $Date: 2004/11/16 07:59:09 $
    20   * @version Revision: 1.0
    21   */
    22
    23  public class IbatisServiceImplTest extends TestCase {
    24
    25      private IbatisService ibatisService = null;
    26
    27      /***
    28       * @see TestCase#setUp()
    29       */
    30      protected void setUp() throws Exception {
    31          super.setUp();
    32          ibatisService = new IbatisServiceImpl();
    33      }
    34
    35      /***
    36       * @see TestCase#tearDown()
    37       */
    38      protected void tearDown() throws Exception {
    39          super.tearDown();
    40      }
    41
    42      /***
    43       * Test for IbatisServiceImpl()
    44       */
    45      public void testIbatisServiceImpl() {
    46          assertNotNull(ibatisService);
    47      }
    48
    49      /***
    50       * Test for getDaoManager()
    51       */
    52      public void testGetDaomanager() {
    53          assertNotNull(ibatisService.getDaoManager());
    54      }
    55
    56  }