public class DefaultLocalMuleClientTestCase extends AbstractMuleContextTestCase
Modifier and Type | Field and Description |
---|---|
protected org.mule.client.DefaultLocalMuleClientTestCase.TestableLocalMuleClient |
client |
protected InboundEndpoint |
inboundEndpoint |
protected MuleMessage |
message |
protected Object |
messagePaylaod |
protected Map<String,Object> |
messageProperties |
protected OutboundEndpoint |
outboundEndpoint |
protected String |
PROP_KEY_1 |
protected MuleEvent |
responseEvent |
protected long |
TEST_FREQ |
protected MessageExchangePattern |
TEST_MEP |
protected long |
TEST_RESPONSE_TIMEOUT |
protected String |
TEST_URI |
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE, TEST_PAYLOAD, WORKING_DIRECTORY_SYSTEM_PROPERTY_KEY, workingDirectory
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Constructor and Description |
---|
DefaultLocalMuleClientTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
doSetUp()
Enables the adding of extra behavior on the set up stage of a test right
after the creation of the mule context in
AbstractMuleContextTestCase.setUpMuleContext() . |
void |
testDispatchStringMuleMessage() |
void |
testDispatchStringObjectMapOfStringObject() |
void |
testInboundEndpointCreation() |
void |
testOutboundEndpointCreation() |
void |
testProcessOutboundEndpointMuleMessage() |
void |
testProcessOutboundEndpointObjectMapOfStringObject() |
void |
testProcessStringMessageExchangePatternMuleMessage() |
void |
testProcessStringMessageExchangePatternObjectMapOfStringObject() |
void |
testRequestInboundEndpointLong() |
void |
testRequestStringLong() |
void |
testSendStringMuleMessage() |
void |
testSendStringMuleMessageInt() |
void |
testSendStringObjectMapOfStringObject() |
void |
testSendStringObjectMapOfStringObjectInt() |
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUpBeforeMuleContextCreation, doTearDown, doTearDownAfterMuleContextDispose, getBuilder, getConfigurationResources, getFileInsideWorkingDirectory, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestMuleMessage, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, getWorkingDirectory, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext
clearExcludedFlag, clearRequestContext, clearTestCaseName, createTestTimeoutRule, dumpFilteredThreadsInTest, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
protected final String PROP_KEY_1
protected final String TEST_URI
protected final long TEST_RESPONSE_TIMEOUT
protected final long TEST_FREQ
protected final MessageExchangePattern TEST_MEP
protected org.mule.client.DefaultLocalMuleClientTestCase.TestableLocalMuleClient client
protected InboundEndpoint inboundEndpoint
protected OutboundEndpoint outboundEndpoint
protected Object messagePaylaod
protected MuleMessage message
protected MuleEvent responseEvent
protected void doSetUp() throws Exception
AbstractMuleContextTestCase
AbstractMuleContextTestCase.setUpMuleContext()
.
Under normal circumstances this method could be replaced by a
@Before
annotated method.
doSetUp
in class AbstractMuleContextTestCase
Exception
- if something fails that should halt the test casepublic void testProcessOutboundEndpointObjectMapOfStringObject() throws MuleException
MuleException
public void testProcessOutboundEndpointMuleMessage() throws MuleException
MuleException
public void testRequestInboundEndpointLong() throws Exception
Exception
public void testDispatchStringObjectMapOfStringObject() throws MuleException
MuleException
public void testSendStringObjectMapOfStringObject() throws MuleException
MuleException
public void testSendStringMuleMessage() throws MuleException
MuleException
public void testSendStringObjectMapOfStringObjectInt() throws MuleException
MuleException
public void testSendStringMuleMessageInt() throws MuleException
MuleException
public void testDispatchStringMuleMessage() throws MuleException
MuleException
public void testProcessStringMessageExchangePatternObjectMapOfStringObject() throws MuleException
MuleException
public void testProcessStringMessageExchangePatternMuleMessage() throws MuleException
MuleException
public void testInboundEndpointCreation() throws MuleException
MuleException
public void testOutboundEndpointCreation() throws MuleException
MuleException
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.