org.mule.mule.model
Class ExplicitMethodEntryPointResolverTestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.tck.junit4.AbstractMuleContextTestCase
          extended by org.mule.mule.model.ExplicitMethodEntryPointResolverTestCase

public class ExplicitMethodEntryPointResolverTestCase
extends AbstractMuleContextTestCase


Nested Class Summary
static class ExplicitMethodEntryPointResolverTestCase.TestFruitCleaner
           
 
Field Summary
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY
 
Constructor Summary
ExplicitMethodEntryPointResolverTestCase()
           
 
Method Summary
 void testMethodNotFound()
           
 void testMethodPropertyParameterAssignableFromPayload()
          If a method with correct name is available then it should be used is the parameter type is assignable from the payload type and not just if there is an exact match.
 void testMethodPropertyParameterNull()
          If a method with correct name is available then it should be used even if one or more parameter types in the payload are null, as long as the parameter count matches.
 void testMethodSetMatchFirst()
           
 void testMethodSetPass()
           
 void testNoMethodSet()
           
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, doTearDown, getBuilder, getConfigurationResources, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext
 
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
 

Constructor Detail

ExplicitMethodEntryPointResolverTestCase

public ExplicitMethodEntryPointResolverTestCase()
Method Detail

testMethodSetPass

public void testMethodSetPass()
                       throws Exception
Throws:
Exception

testMethodSetMatchFirst

public void testMethodSetMatchFirst()
                             throws Exception
Throws:
Exception

testMethodNotFound

public void testMethodNotFound()
                        throws Exception
Throws:
Exception

testNoMethodSet

public void testNoMethodSet()
                     throws Exception
Throws:
Exception

testMethodPropertyParameterAssignableFromPayload

public void testMethodPropertyParameterAssignableFromPayload()
                                                      throws Exception
If a method with correct name is available then it should be used is the parameter type is assignable from the payload type and not just if there is an exact match. See MULE-3636.

Throws:
Exception

testMethodPropertyParameterNull

public void testMethodPropertyParameterNull()
                                     throws Exception
If a method with correct name is available then it should be used even if one or more parameter types in the payload are null, as long as the parameter count matches.

Throws:
Exception


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