1 /* 2 * $Id: LifecycleNotificationTestCase.java 20321 2010-11-24 15:21:24Z dfeist $ 3 * -------------------------------------------------------------------------------------- 4 * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com 5 * 6 * The software in this package is published under the terms of the CPAL v1.0 7 * license, a copy of which has been included with this distribution in the 8 * LICENSE.txt file. 9 */ 10 package org.mule.management; 11 12 import org.mule.tck.AbstractMuleTestCase; 13 14 public class LifecycleNotificationTestCase extends AbstractMuleTestCase 15 { 16 17 public void testManageLifecycle() throws Exception 18 { 19 assertTrue(muleContext.isInitialised()); 20 // muleContext.start(); 21 // assertTrue(muleContext.isStarted()); 22 // muleContext.stop(); 23 // assertFalse(muleContext.isStarted()); 24 // muleContext.dispose(); 25 // assertTrue(muleContext.isDisposed()); 26 // muleContext.initialise(); 27 // assertTrue(muleContext.isInitialised()); 28 // muleContext.start(); 29 // assertTrue(muleContext.isStarted()); 30 31 32 } 33 }