Methods
Modifier and Type |
Method and Description |
static Thread |
getRunningThreadByName(String name)
Returns a currently running Thread of the given name
|
static TestAgent |
getTestAgent() |
static TestConnector |
getTestConnector(MuleContext context) |
static MuleEvent |
getTestEvent(Object data,
FlowConstruct flowConstruct,
InboundEndpoint endpoint,
MuleContext context) |
static MuleEvent |
getTestEvent(Object data,
FlowConstruct flowConstruct,
MessageExchangePattern mep,
MuleContext context) |
static MuleEvent |
getTestEvent(Object data,
InboundEndpoint endpoint,
MuleContext context)
Supply endpoint but no service
|
static MuleEvent |
getTestEvent(Object data,
MessageExchangePattern mep,
MuleContext context) |
static MuleEvent |
getTestEvent(Object data,
MuleContext context)
Supply no service, no endpoint
|
static MuleEvent |
getTestEvent(Object data,
MuleSession session,
MuleContext context) |
static MuleEvent |
getTestEvent(Object data,
Service service,
MuleContext context)
Deprecated.
|
static MuleEventContext |
getTestEventContext(Object data,
MessageExchangePattern mep,
MuleContext context) |
static MuleEvent |
getTestEventUsingFlow(Object data,
MessageExchangePattern mep,
MuleContext context) |
static Flow |
getTestFlow(MuleContext context) |
static Flow |
getTestFlow(String name,
MuleContext context) |
static Flow |
getTestFlow(String name,
MuleContext context,
boolean initialize) |
static InboundEndpoint |
getTestInboundEndpoint(MessageExchangePattern mep,
MuleContext context) |
static InboundEndpoint |
getTestInboundEndpoint(String name,
MessageExchangePattern mep,
MuleContext context,
Connector connector) |
static InboundEndpoint |
getTestInboundEndpoint(String name,
MuleContext context) |
static InboundEndpoint |
getTestInboundEndpoint(String name,
MuleContext context,
String uri,
List<Transformer> transformers,
Filter filter,
Map<Object,Object> properties) |
static InboundEndpoint |
getTestInboundEndpoint(String name,
MuleContext context,
String uri,
List<Transformer> transformers,
Filter filter,
Map<Object,Object> properties,
Connector connector) |
static OutboundEndpoint |
getTestOutboundEndpoint(MessageExchangePattern mep,
MuleContext context) |
static OutboundEndpoint |
getTestOutboundEndpoint(MessageExchangePattern mep,
MuleContext context,
String uri,
Connector connector) |
static OutboundEndpoint |
getTestOutboundEndpoint(String name,
MessageExchangePattern mep,
MuleContext context) |
static OutboundEndpoint |
getTestOutboundEndpoint(String name,
MuleContext context) |
static OutboundEndpoint |
getTestOutboundEndpoint(String name,
MuleContext context,
String uri,
List<Transformer> transformers,
Filter filter,
Map<Object,Object> properties) |
static OutboundEndpoint |
getTestOutboundEndpoint(String name,
MuleContext context,
String uri,
List<Transformer> transformers,
Filter filter,
Map<Object,Object> properties,
Connector connector) |
static ImmutableEndpoint |
getTestSchemeMetaInfoInboundEndpoint(String name,
String protocol,
MuleContext context) |
static ImmutableEndpoint |
getTestSchemeMetaInfoOutboundEndpoint(String name,
String protocol,
MuleContext context) |
static Service |
getTestService(MuleContext context)
Deprecated.
|
static Service |
getTestService(String name,
Class<?> clazz,
Map props,
MuleContext context)
Deprecated.
|
static Service |
getTestService(String name,
Class<?> clazz,
Map props,
MuleContext context,
boolean initialize)
Deprecated.
|
static Service |
getTestService(String name,
Class<?> clazz,
MuleContext context)
Deprecated.
|
static MuleSession |
getTestSession(FlowConstruct flowConstruct,
MuleContext context) |
static MuleSession |
getTestSession(MuleContext context) |
static InboundEndpoint |
getTestTransactedInboundEndpoint(MessageExchangePattern mep,
MuleContext context) |
static Transformer |
getTestTransformer() |
static void |
testWithSystemProperty(String propertyName,
String propertyValue,
MuleTestUtils.TestCallback callback)
Execute callback with a given system property set and replaces the system property with it's original
value once done.
|