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