org.mule.processor.chain
Class DefaultMessageProcessorChainTestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.processor.chain.DefaultMessageProcessorChainTestCase

public class DefaultMessageProcessorChainTestCase
extends AbstractMuleTestCase


Field Summary
protected  MuleContext muleContext
           
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY
 
Constructor Summary
DefaultMessageProcessorChainTestCase()
           
 
Method Summary
 MuleEvent getTestEventUsingFlow(Object data)
           
 void testAllIntercepting()
           
 void testInterceptingMPChain()
           
 void testInterceptingMPChainStopFlow()
           
 void testInterceptingMPChainWithNullReturn()
           
 void testInterceptingMPChainWithVoidReturn()
           
 void testMix()
           
 void testMix2()
           
 void testMix2StaticFactory()
           
 void testMixedMPChain()
           
 void testMixedMPChainWithNullReturn1()
           
 void testMixedMPChainWithNullReturn2()
           
 void testMixedMPChainWithNullReturn3()
           
 void testMixedMPChainWithNullReturn4()
           
 void testMixedMPChainWithNullReturn5()
           
 void testMixedMPChainWithNullReturnAtEnd()
           
 void testMixedMPChainWithVoidlReturn2()
           
 void testMixedMPChainWithVoidReturn1()
           
 void testMixedMPChainWithVoidReturn3()
           
 void testMixedMPChainWithVoidReturn4()
           
 void testMixedMPChainWithVoidReturn5()
           
 void testMixedMPChainWithVoidReturnAtEnd()
           
 void testMixStaticFactoryt()
           
 void testMPChain()
           
 void testMPChainLifecycle()
           
 void testMPChainWithBuilder()
           
 void testMPChainWithNullReturn()
           
 void testMPChainWithNullReturnAtEnd()
           
 void testMPChainWithVoidReturn()
           
 void testMPChainWithVoidReturnAtEnd()
           
 void testNestedInterceptingMPChain()
           
 void testNestedInterceptingMPChainStopFlow()
          Note: Stopping the flow of a nested chain causes the nested chain to return early, but does not stop the flow of the parent chain.
 void testNestedInterceptingMPChainWithNullReturn()
           
 void testNestedInterceptingMPChainWithVoidReturn()
           
 void testNestedMixedMPChain()
           
 void testNestedMPChain()
           
 void testNestedMPChainLifecycle()
           
 void testNestedMPChainWithNullReturn()
           
 void testNestedMPChainWithNullReturnAtEndOfNestedChain()
           
 void testNestedMPChainWithNullReturnAtEndOfNestedChainWithNonInterceptingWrapper()
           
 void testNestedMPChainWithVoidReturn()
           
 void testNestedMPChainWithVoidReturnAtEndOfNestedChain()
           
 void testNestedMPChainWithVoidReturnAtEndOfNestedChainWithNonInterceptingWrapper()
           
 void testNoneIntercepting()
           
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

muleContext

@Mock
protected MuleContext muleContext
Constructor Detail

DefaultMessageProcessorChainTestCase

public DefaultMessageProcessorChainTestCase()
Method Detail

testMPChain

public void testMPChain()
                 throws MuleException,
                        Exception
Throws:
MuleException
Exception

testMPChainWithNullReturn

public void testMPChainWithNullReturn()
                               throws MuleException,
                                      Exception
Throws:
MuleException
Exception

testMPChainWithVoidReturn

public void testMPChainWithVoidReturn()
                               throws MuleException,
                                      Exception
Throws:
MuleException
Exception

testMPChainWithNullReturnAtEnd

public void testMPChainWithNullReturnAtEnd()
                                    throws MuleException,
                                           Exception
Throws:
MuleException
Exception

testMPChainWithVoidReturnAtEnd

public void testMPChainWithVoidReturnAtEnd()
                                    throws MuleException,
                                           Exception
Throws:
MuleException
Exception

testMPChainWithBuilder

public void testMPChainWithBuilder()
                            throws MuleException,
                                   Exception
Throws:
MuleException
Exception

testInterceptingMPChain

public void testInterceptingMPChain()
                             throws MuleException,
                                    Exception
Throws:
MuleException
Exception

testInterceptingMPChainWithNullReturn

public void testInterceptingMPChainWithNullReturn()
                                           throws MuleException,
                                                  Exception
Throws:
MuleException
Exception

testInterceptingMPChainWithVoidReturn

public void testInterceptingMPChainWithVoidReturn()
                                           throws MuleException,
                                                  Exception
Throws:
MuleException
Exception

testMixedMPChain

public void testMixedMPChain()
                      throws MuleException,
                             Exception
Throws:
MuleException
Exception

testMixedMPChainWithNullReturn1

public void testMixedMPChainWithNullReturn1()
                                     throws MuleException,
                                            Exception
Throws:
MuleException
Exception

testMixedMPChainWithVoidReturn1

public void testMixedMPChainWithVoidReturn1()
                                     throws MuleException,
                                            Exception
Throws:
MuleException
Exception

testMixedMPChainWithNullReturn2

public void testMixedMPChainWithNullReturn2()
                                     throws MuleException,
                                            Exception
Throws:
MuleException
Exception

testMixedMPChainWithVoidlReturn2

public void testMixedMPChainWithVoidlReturn2()
                                      throws MuleException,
                                             Exception
Throws:
MuleException
Exception

testMixedMPChainWithNullReturn3

public void testMixedMPChainWithNullReturn3()
                                     throws MuleException,
                                            Exception
Throws:
MuleException
Exception

testMixedMPChainWithVoidReturn3

public void testMixedMPChainWithVoidReturn3()
                                     throws MuleException,
                                            Exception
Throws:
MuleException
Exception

testMixedMPChainWithNullReturn4

public void testMixedMPChainWithNullReturn4()
                                     throws MuleException,
                                            Exception
Throws:
MuleException
Exception

testMixedMPChainWithVoidReturn4

public void testMixedMPChainWithVoidReturn4()
                                     throws MuleException,
                                            Exception
Throws:
MuleException
Exception

testMixedMPChainWithNullReturn5

public void testMixedMPChainWithNullReturn5()
                                     throws MuleException,
                                            Exception
Throws:
MuleException
Exception

testMixedMPChainWithVoidReturn5

public void testMixedMPChainWithVoidReturn5()
                                     throws MuleException,
                                            Exception
Throws:
MuleException
Exception

testMixedMPChainWithNullReturnAtEnd

public void testMixedMPChainWithNullReturnAtEnd()
                                         throws MuleException,
                                                Exception
Throws:
MuleException
Exception

testMixedMPChainWithVoidReturnAtEnd

public void testMixedMPChainWithVoidReturnAtEnd()
                                         throws MuleException,
                                                Exception
Throws:
MuleException
Exception

testNestedMPChain

public void testNestedMPChain()
                       throws MuleException,
                              Exception
Throws:
MuleException
Exception

testNestedMPChainWithNullReturn

public void testNestedMPChainWithNullReturn()
                                     throws MuleException,
                                            Exception
Throws:
MuleException
Exception

testNestedMPChainWithVoidReturn

public void testNestedMPChainWithVoidReturn()
                                     throws MuleException,
                                            Exception
Throws:
MuleException
Exception

testNestedMPChainWithNullReturnAtEndOfNestedChain

public void testNestedMPChainWithNullReturnAtEndOfNestedChain()
                                                       throws MuleException,
                                                              Exception
Throws:
MuleException
Exception

testNestedMPChainWithVoidReturnAtEndOfNestedChain

public void testNestedMPChainWithVoidReturnAtEndOfNestedChain()
                                                       throws MuleException,
                                                              Exception
Throws:
MuleException
Exception

testNestedMPChainWithNullReturnAtEndOfNestedChainWithNonInterceptingWrapper

public void testNestedMPChainWithNullReturnAtEndOfNestedChainWithNonInterceptingWrapper()
                                                                                 throws MuleException,
                                                                                        Exception
Throws:
MuleException
Exception

testNestedMPChainWithVoidReturnAtEndOfNestedChainWithNonInterceptingWrapper

public void testNestedMPChainWithVoidReturnAtEndOfNestedChainWithNonInterceptingWrapper()
                                                                                 throws MuleException,
                                                                                        Exception
Throws:
MuleException
Exception

testNestedInterceptingMPChain

public void testNestedInterceptingMPChain()
                                   throws MuleException,
                                          Exception
Throws:
MuleException
Exception

testNestedInterceptingMPChainWithNullReturn

public void testNestedInterceptingMPChainWithNullReturn()
                                                 throws MuleException,
                                                        Exception
Throws:
MuleException
Exception

testNestedInterceptingMPChainWithVoidReturn

public void testNestedInterceptingMPChainWithVoidReturn()
                                                 throws MuleException,
                                                        Exception
Throws:
MuleException
Exception

testNestedMixedMPChain

public void testNestedMixedMPChain()
                            throws MuleException,
                                   Exception
Throws:
MuleException
Exception

testInterceptingMPChainStopFlow

public void testInterceptingMPChainStopFlow()
                                     throws MuleException,
                                            Exception
Throws:
MuleException
Exception

testNestedInterceptingMPChainStopFlow

public void testNestedInterceptingMPChainStopFlow()
                                           throws MuleException,
                                                  Exception
Note: Stopping the flow of a nested chain causes the nested chain to return early, but does not stop the flow of the parent chain.

Throws:
MuleException
Exception

testMPChainLifecycle

public void testMPChainLifecycle()
                          throws MuleException,
                                 Exception
Throws:
MuleException
Exception

testNestedMPChainLifecycle

public void testNestedMPChainLifecycle()
                                throws MuleException,
                                       Exception
Throws:
MuleException
Exception

testNoneIntercepting

public void testNoneIntercepting()
                          throws Exception
Throws:
Exception

testAllIntercepting

public void testAllIntercepting()
                         throws Exception
Throws:
Exception

testMix

public void testMix()
             throws Exception
Throws:
Exception

testMixStaticFactoryt

public void testMixStaticFactoryt()
                           throws Exception
Throws:
Exception

testMix2

public void testMix2()
              throws Exception
Throws:
Exception

testMix2StaticFactory

public void testMix2StaticFactory()
                           throws Exception
Throws:
Exception

getTestEventUsingFlow

public MuleEvent getTestEventUsingFlow(Object data)
                                throws Exception
Throws:
Exception


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.