public class TestServicesConfigurationBuilder extends AbstractConfigurationBuilder implements org.junit.rules.TestRule
MuleRegistry of a MuleContext.
This is to be used only in tests that do not leverage the service injection mechanism.
serviceConfigurators| Constructor and Description |
|---|
TestServicesConfigurationBuilder() |
TestServicesConfigurationBuilder(boolean mockHttpService,
boolean mockExpressionExecutor) |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
void |
doConfigure(MuleContext muleContext) |
void |
stopServices() |
addServiceConfigurator, applyLifecycle, configurepublic TestServicesConfigurationBuilder()
public TestServicesConfigurationBuilder(boolean mockHttpService,
boolean mockExpressionExecutor)
public void doConfigure(MuleContext muleContext) throws Exception
doConfigure in class AbstractConfigurationBuilderExceptionpublic void stopServices()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
apply in interface org.junit.rules.TestRuleCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.