public class MuleInstallation
extends org.junit.rules.ExternalResource
public static class MuleEsbInstallationTest {
@Rule
public MuleInstallation installation = new MuleInstallation("/path/to/packed/distribution.zip");
@Test
public void usingMuleEsb() throws IOException {
String muleHomePath = installation.getMuleHome();
MuleProcessController mule = new MuleProcessController(muleHomePath);
mule.start();
}
}
| Constructor and Description |
|---|
MuleInstallation(String zippedDistribution) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
after() |
protected void |
before() |
String |
getMuleHome() |
public MuleInstallation(String zippedDistribution)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.