public class MuleStandalone extends org.junit.rules.ExternalResource
public static class MuleStandaloneIntegrationTests { @Rule public MuleStandalone standalone = new MuleStandalone("/path/to/mule/home"); @Test public void integrationTest() throws IOException { MuleProcessController mule = standalone.getMule(); assertThat(mule.isRunning(), is(true)); } }
Constructor and Description |
---|
MuleStandalone(String muleHome) |
MuleStandalone(String muleHome,
String... args) |
Modifier and Type | Method and Description |
---|---|
protected void |
after() |
protected void |
before() |
MuleProcessController |
getMule() |
apply
public MuleStandalone(String muleHome)
protected void before() throws Throwable
before
in class org.junit.rules.ExternalResource
Throwable
protected void after()
after
in class org.junit.rules.ExternalResource
public MuleProcessController getMule()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.