org.mule.tck
Class MuleTestUtils
java.lang.Object
org.mule.tck.MuleTestUtils
- public class MuleTestUtils
- extends Object
Utilities for creating test and Mock Mule objects
- Version:
- $Revision: 3798 $
- Author:
- Ross Mason
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MuleTestUtils
public MuleTestUtils()
getManager
public static UMOManager getManager(boolean disableAdminService)
throws Exception
- Throws:
Exception
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
getTestManager
public static UMOManager getTestManager()
throws UMOException
- Throws:
UMOException
getTestAgent
public static TestAgent getTestAgent()
getMockSession
public static Mock getMockSession()
getMockMessageDispatcher
public static Mock getMockMessageDispatcher()
getMockConnector
public static Mock getMockConnector()
getMockEvent
public static Mock getMockEvent()
getMockManager
public static Mock getMockManager()
getMockEndpoint
public static Mock getMockEndpoint()
getMockEndpointURI
public static Mock getMockEndpointURI()
getMockDescriptor
public static Mock getMockDescriptor()
getMockTransaction
public static Mock getMockTransaction()
getMockTransactionFactory
public static Mock getMockTransactionFactory()
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.