org.mule.test.cookbook.quartz
Class TriggerNoArgsServiceMethodTestCase
java.lang.Object
org.mule.tck.junit4.AbstractMuleTestCase
org.mule.tck.junit4.AbstractMuleContextTestCase
org.mule.tck.junit4.FunctionalTestCase
org.mule.tck.AbstractServiceAndFlowTestCase
org.mule.test.cookbook.quartz.TriggerNoArgsServiceMethodTestCase
public class TriggerNoArgsServiceMethodTestCase
- extends AbstractServiceAndFlowTestCase
The Quartz transport can be used to trigger an event to be received by the
component based on the endpoint configuration. In Mule an event is usually
expected, however in this example we have a service component who's service method
doesn't take any parameters. The
EventGeneratorJob
can be used to trigger a
service method, and by not specifying a 'payload' element there is no data to try
and match to the service method, so Mule will match a method with no arguments.
Methods inherited from class org.mule.tck.junit4.FunctionalTestCase |
clearFlowAssertions, getBuilder, getComponent, getComponent, getFlowConstruct, getFunctionalTestComponent, loadResource, loadResourceAsString, stopFlowConstruct, testFlow, testFlow |
Methods inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase |
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doTearDown, 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, 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 |
TriggerNoArgsServiceMethodTestCase
public TriggerNoArgsServiceMethodTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
String configResources)
parameters
public static Collection<Object[]> parameters()
testTrigger
public void testTrigger()
throws Exception
- Throws:
Exception
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.