org.mule.modules.tests
Class ConnectorTestUtils
java.lang.Object
org.mule.modules.tests.ConnectorTestUtils
public class ConnectorTestUtils
- extends Object
Util class for connector tests
- Author:
- Mulesoft, Inc
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectorTestUtils
public ConnectorTestUtils()
assertNullPayload
public static Boolean assertNullPayload(Object actual)
getStackTrace
public static String getStackTrace(Exception e)
generateRandomEmailAddress
public static String generateRandomEmailAddress()
generateRandomShortString
public static String generateRandomShortString()
generateXMLGregorianCalendarDateForYesterday
public static XMLGregorianCalendar generateXMLGregorianCalendarDateForYesterday()
throws Exception
- Throws:
Exception
generateXMLGregorianCalendarDateForDaysBeforeCurrent
public static XMLGregorianCalendar generateXMLGregorianCalendarDateForDaysBeforeCurrent(int days)
throws Exception
- Throws:
Exception
generateXMLGregorianCalendarDateForHoursBeforeCurrent
public static XMLGregorianCalendar generateXMLGregorianCalendarDateForHoursBeforeCurrent(int hours)
throws Exception
- Throws:
Exception
generateXMLGregorianCalendarDateForMinutesBeforeCurrent
public static XMLGregorianCalendar generateXMLGregorianCalendarDateForMinutesBeforeCurrent(int minutes)
throws Exception
- Throws:
Exception
Copyright © 2013. All rights reserved.