Search in sources :

Example 1 with TestApplicationWrapper

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;
}
Also used : TestApplicationWrapper(org.mule.runtime.module.deployment.impl.internal.application.TestApplicationWrapper) Application(org.mule.runtime.deployment.model.api.application.Application)

Aggregations

Application (org.mule.runtime.deployment.model.api.application.Application)1 TestApplicationWrapper (org.mule.runtime.module.deployment.impl.internal.application.TestApplicationWrapper)1