Package org.openxava.tests
Class EmailNotificationsUtils
- java.lang.Object
-
- junit.framework.Assert
-
- org.openxava.tests.EmailNotificationsUtils
-
public class EmailNotificationsUtils extends junit.framework.Assert
Utility class to test email notifications from junit tests.- Since:
- 6.6.1
- Author:
- Javier Paniza
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
assertEmailNotifications(java.lang.String... expectedNotifications)
static void
assertEmailSubscriptions(java.lang.String... expectedSubscriptions)
static java.lang.String
getEmailSubscriptionAction()
static void
removeAllEmailSubscriptions()
-
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
-
-
-
-
Method Detail
-
assertEmailNotifications
public static void assertEmailNotifications(java.lang.String... expectedNotifications) throws java.lang.Exception
- Throws:
java.lang.Exception
-
assertEmailSubscriptions
public static void assertEmailSubscriptions(java.lang.String... expectedSubscriptions)
-
removeAllEmailSubscriptions
public static void removeAllEmailSubscriptions() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getEmailSubscriptionAction
public static java.lang.String getEmailSubscriptionAction()
-
-