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() |
public MuleStandalone(String muleHome)
protected void before()
throws Throwable
before in class org.junit.rules.ExternalResourceThrowableprotected void after()
after in class org.junit.rules.ExternalResourcepublic MuleProcessController getMule()
Copyright © 2003–2019 MuleSoft, Inc.. All rights reserved.