public class MuleContextUtils extends Object
MuleContexts in unit tests.| Modifier and Type | Method and Description |
|---|---|
static Event.Builder |
eventBuilder()
Creates a basic event builder with its context already set.
|
static MuleContext |
mockContextWithServices()
Creates and configures a mock
MuleContext to return testing services implementations. |
static MuleContext |
mockMuleContext() |
public static MuleContext mockMuleContext()
public static MuleContext mockContextWithServices()
MuleContext to return testing services implementations.muleContext.public static Event.Builder eventBuilder() throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.