    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.logging;
    11
    12  import org.huihoo.jfox.soaf.container.ServiceFactory;
    13
    14  import junit.framework.TestCase;
    15
    16  /***
    17   * JUnit test case for the
    18   * {@link org.huihoo.jfox.soaf.services.logging.LoggingServiceImpl).
    19   *
    20   * @author <a href="mailto:founder_chen@yahoo.com">Peter Cheng </a>
    21   * @version $Revision: 1.2 $ $Date: 2004/10/18 11:48:01 $
    22   * @version Revision: 1.0
    23   */
    24
    25  public class LoggingServiceTest extends TestCase {
    26
    27      private LoggingService logService = null;
    28
    29      /***
    30       * @see TestCase#setUp()
    31       */
    32      protected void setUp() throws Exception {
    33          super.setUp();
    34          logService = (LoggingService) ServiceFactory.getInstance().getService(
    35                  LoggingService.class);
    36      }
    37
    38      /***
    39       * Test for boolean isDebugEnabled()
    40       */
    41      public void testIsDebugEnabled() {
    42          assertEquals(logService.isDebugEnabled(), false);
    43      }
    44
    45  }