public class BlockingProcessorExecutorTestCase extends AbstractMuleTestCase
Modifier and Type | Field and Description |
---|---|
protected static String |
A |
protected static String |
B |
protected static String |
C |
protected MuleEvent |
event |
protected MessageProcessorExecutionTemplate |
executionTemplate |
protected MuleContext |
muleContext |
protected SensingNullMessageProcessor |
processor1 |
protected SensingNullMessageProcessor |
processor2 |
protected SensingNullMessageProcessor |
processor3 |
protected List<MessageProcessor> |
processors |
protected static String |
RESULT |
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY, TESTING_MODE_PROPERTY_NAME
Constructor and Description |
---|
BlockingProcessorExecutorTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertBlockingExecution(List<MessageProcessor> processors,
org.hamcrest.Matcher<MuleEvent> requestResponseMatcher) |
void |
before() |
protected ProcessorExecutor |
createProcessorExecutor(List<MessageProcessor> processors) |
void |
executeOneWay() |
void |
executeRequestResponse() |
void |
executeRequestResponseNullResponse() |
protected org.hamcrest.Matcher<MuleEvent> |
requestResponseMatecher() |
protected void |
setupRequestResponseEvent() |
clearExcludedFlag, clearRequestContext, clearTestCaseName, createTestTimeoutRule, dumpFilteredThreadsInTest, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile, takeTestCaseName
@Mock(answer=RETURNS_DEEP_STUBS) protected MuleContext muleContext
@Mock protected MuleEvent event
@Mock protected MessageProcessorExecutionTemplate executionTemplate
protected static String A
protected static String B
protected static String C
protected static String RESULT
protected SensingNullMessageProcessor processor1
protected SensingNullMessageProcessor processor2
protected SensingNullMessageProcessor processor3
protected List<MessageProcessor> processors
public void before() throws MessagingException
MessagingException
public void executeRequestResponse() throws MuleException
MuleException
protected org.hamcrest.Matcher<MuleEvent> requestResponseMatecher()
public void executeRequestResponseNullResponse() throws MuleException
MuleException
public void executeOneWay() throws MuleException
MuleException
protected void setupRequestResponseEvent()
protected void assertBlockingExecution(List<MessageProcessor> processors, org.hamcrest.Matcher<MuleEvent> requestResponseMatcher) throws MuleException
MuleException
protected ProcessorExecutor createProcessorExecutor(List<MessageProcessor> processors)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.