use of org.mule.runtime.core.internal.config.builders.DefaultsConfigurationBuilder in project mule by mulesoft.
the class MuleContextLifecycleTestCase method startOnStopped.
@Test
public void startOnStopped() throws Exception {
ctx.initialise();
new DefaultsConfigurationBuilder().configure(ctx);
ctx.start();
ctx.stop();
ctx.start();
assertTrue(ctx.isInitialised());
assertFalse(ctx.isInitialising());
assertTrue(ctx.isStarted());
assertFalse(ctx.isDisposed());
assertFalse(ctx.isDisposing());
}
Aggregations