use of org.mule.runtime.module.extension.internal.runtime.DefaultExecutionContext in project mule by mulesoft.
the class ReflectiveMethodOperationExecutorTestCase method init.
@Before
public void init() throws Exception {
initHeisenberg();
configurationInstance = new LifecycleAwareConfigurationInstance(CONFIG_NAME, configurationModel, config, configurationState, emptyList(), empty());
when(muleEvent.getMessage().getPayload()).thenReturn(new TypedValue<>(null, DATA_TYPE));
when(operationModel.getModelProperty(ParameterGroupModelProperty.class)).thenReturn(empty());
operationContext = new DefaultExecutionContext(extensionModel, of(configurationInstance), parameters.asMap(), operationModel, muleEvent, cursorProviderFactory, streamingManager, component, retryPolicyTemplate, IMMEDIATE_SCHEDULER, muleContext);
operationContext = spy(operationContext);
}
Aggregations