use of org.mule.runtime.module.deployment.impl.internal.application.TestApplicationWrapper in project mule by mulesoft.
the class TestApplicationFactory method createArtifact.
@Override
public Application createArtifact(File appLocation, Optional<Properties> appProperties) throws IOException {
Application app = super.createArtifact(appLocation, appProperties);
TestApplicationWrapper testApplicationWrapper = new TestApplicationWrapper(app);
testApplicationWrapper.setFailOnDisposeApplication(failOnDisposeApplication);
testApplicationWrapper.setFailOnStopApplication(failOnStopApplication);
return testApplicationWrapper;
}
Aggregations