public class LegacyEntryPointResolverTestCase extends AbstractMuleContextTestCase
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 |
---|
LegacyEntryPointResolverTestCase() |
Modifier and Type | Method and Description |
---|---|
void |
testArrayArgumentResolution()
Test for proper resolution of a method that takes an array as argument.
|
void |
testExplicitMethodMatch() |
void |
testExplicitMethodMatchComplexObject() |
void |
testExplicitMethodMatchSetArrayFail() |
void |
testExplicitMethodMatchSetArrayPass() |
void |
testExplicitMethodMatchSetArrayPassUsingExplicitResolver() |
void |
testExplicitOverride()
Test for proper resolution of an existing method specified as override
|
void |
testFailEntryPointMultiplePayloadMatches()
Tests entrypoint discovery when there is more than one discoverable method
with MuleEventContext parameter.
|
void |
testListArgumentResolution()
Test for proper resolution of a method that takes a List as argument.
|
void |
testMethodOverrideDoesNotFallback()
If there was a method parameter specified to override the discovery mechanism
and no such method exists, an exception should be thrown, and no fallback to
the default discovery should take place.
|
void |
testMethodOverrideIgnoredWithCallable()
If there was a method parameter specified to override the discovery mechanism
and a Callable instance is serving the request, call the Callable, ignore the
method override parameter.
|
void |
testMethodOverrideIgnoredWithEventContext()
If there was a method parameter specified to override the discovery mechanism
and a target instance has a method accepting MuleEventContext, proceed to call
this method, ignore the method override parameter.
|
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doSetUp, 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
public void testExplicitMethodMatchComplexObject() throws Exception
Exception
public void testExplicitMethodMatchSetArrayFail() throws Exception
Exception
public void testExplicitMethodMatchSetArrayPass() throws Exception
Exception
public void testExplicitMethodMatchSetArrayPassUsingExplicitResolver() throws Exception
Exception
public void testFailEntryPointMultiplePayloadMatches() throws Exception
Exception
public void testMethodOverrideDoesNotFallback() throws Exception
Exception
public void testMethodOverrideIgnoredWithCallable() throws Exception
Exception
public void testMethodOverrideIgnoredWithEventContext() throws Exception
Exception
public void testArrayArgumentResolution() throws Exception
Exception
public void testListArgumentResolution() throws Exception
Exception
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.