public class MockOperations extends Object
| Constructor and Description |
|---|
MockOperations() |
| Modifier and Type | Method and Description |
|---|---|
void |
mockWhen(String processor,
List<org.mule.munit.common.model.Attribute> withAttributes,
org.mule.munit.common.model.Event thenReturn) |
protected void |
setMockModule(org.mule.munit.mock.MockModule mockModule) |
protected void |
setMuleContext(org.mule.runtime.core.api.MuleContext muleContext) |
void |
verifyCall(String processor,
List<org.mule.munit.common.model.Attribute> withAttributes,
Integer times,
Integer atLeast,
Integer atMost) |
@Summary(value="Mock the Processor when it matches processor name and attributes") public void mockWhen(String processor, @Optional @Expression(value=NOT_SUPPORTED) List<org.mule.munit.common.model.Attribute> withAttributes, @Optional @Expression(value=NOT_SUPPORTED) org.mule.munit.common.model.Event thenReturn)
@Summary(value="Verify that a processor is called") public void verifyCall(String processor, @Optional @Expression(value=NOT_SUPPORTED) List<org.mule.munit.common.model.Attribute> withAttributes, @Optional Integer times, @Optional Integer atLeast, @Optional Integer atMost)
protected void setMuleContext(org.mule.runtime.core.api.MuleContext muleContext)
protected void setMockModule(org.mule.munit.mock.MockModule mockModule)
Copyright © 2017. All rights reserved.