org.mule.tck
Class MuleTestUtils
java.lang.Object
org.mule.tck.MuleTestUtils
- public final class MuleTestUtils
- extends Object
Utilities for creating test and Mock Mule objects
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_MODEL_NAME
public static final String DEFAULT_MODEL_NAME
- See Also:
- Constant Field Values
getManager
public static UMOManager getManager(boolean disableAdminService)
throws Exception
- Throws:
Exception
getDefaultModel
public static UMOModel getDefaultModel()
throws UMOException
- Throws:
UMOException
getTestEndpoint
public static UMOEndpoint getTestEndpoint(String name,
String type)
throws Exception
- Throws:
Exception
getTestEvent
public static UMOEvent getTestEvent(Object data)
throws Exception
- Throws:
Exception
getTestEventContext
public static UMOEventContext getTestEventContext(Object data)
throws Exception
- Throws:
Exception
getTestTransformer
public static UMOTransformer getTestTransformer()
getTestEvent
public static UMOEvent getTestEvent(Object data,
MuleDescriptor descriptor)
throws Exception
- Throws:
Exception
getTestEvent
public static UMOEvent getTestEvent(Object data,
UMOImmutableEndpoint endpoint)
throws Exception
- Throws:
Exception
getTestEvent
public static UMOEvent getTestEvent(Object data,
MuleDescriptor descriptor,
UMOImmutableEndpoint endpoint)
throws UMOException
- Throws:
UMOException
getTestSession
public static UMOSession getTestSession(UMOComponent component)
getTestSession
public static UMOSession getTestSession()
getTestConnector
public static TestConnector getTestConnector()
getTestComponent
public static UMOComponent getTestComponent(MuleDescriptor descriptor)
getTestDescriptor
public static MuleDescriptor getTestDescriptor(String name,
String implementation)
throws Exception
- Throws:
Exception
getTestAgent
public static TestAgent getTestAgent()
getMockSession
public static com.mockobjects.dynamic.Mock getMockSession()
getMockMessageDispatcher
public static com.mockobjects.dynamic.Mock getMockMessageDispatcher()
getMockMessageDispatcherFactory
public static com.mockobjects.dynamic.Mock getMockMessageDispatcherFactory()
getMockConnector
public static com.mockobjects.dynamic.Mock getMockConnector()
getMockEvent
public static com.mockobjects.dynamic.Mock getMockEvent()
getMockManager
public static com.mockobjects.dynamic.Mock getMockManager()
getMockEndpoint
public static com.mockobjects.dynamic.Mock getMockEndpoint()
getMockEndpointURI
public static com.mockobjects.dynamic.Mock getMockEndpointURI()
getMockDescriptor
public static com.mockobjects.dynamic.Mock getMockDescriptor()
getMockTransaction
public static com.mockobjects.dynamic.Mock getMockTransaction()
getMockTransactionFactory
public static com.mockobjects.dynamic.Mock getMockTransactionFactory()
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.