org.kuali.rice.ken.services.impl
Class NotificationWorkflowDocumentServiceImplTest
java.lang.Object
org.kuali.rice.test.BaseRiceTestCase
org.kuali.rice.test.RiceTestCase
org.kuali.rice.test.RiceInternalSuiteDataTestCase
org.kuali.rice.test.BaseModuleTestCase
org.kuali.rice.test.BaselineTestCase
org.kuali.rice.ken.test.KENTestCase
org.kuali.rice.ken.services.impl.NotificationWorkflowDocumentServiceImplTest
- All Implemented Interfaces:
- MethodAware
public class NotificationWorkflowDocumentServiceImplTest
- extends KENTestCase
This class tests the notification workflow document service service impl.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class org.kuali.rice.test.RiceTestCase |
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotificationWorkflowDocumentServiceImplTest
public NotificationWorkflowDocumentServiceImplTest()
createAndAdHocRouteNotificationWorkflowDocument_defaultKEW
public void createAndAdHocRouteNotificationWorkflowDocument_defaultKEW()
throws WorkflowException
- Tests whether the default KEW document type
KualiNotification
is used when set in this
Notification
.
- Throws:
WorkflowException
- when KEW cannot find the document
createAndAdHocRouteNotificationWorkflowDocument_undefinedKEW
public void createAndAdHocRouteNotificationWorkflowDocument_undefinedKEW()
throws WorkflowException
- Tests whether the default KEW document type
KualiNotification
is used when nothing is set in this
Notification
.
- Throws:
WorkflowException
- when KEW cannot find the document
createAndAdHocRouteNotificationWorkflowDocument_customKEW
public void createAndAdHocRouteNotificationWorkflowDocument_customKEW()
throws WorkflowException
- Tests whether the custom KEW document type
CustomNotification
is used when set in this
Notification
.
- Throws:
WorkflowException
- when KEW cannot find the document
createNotificationWorkflowDocument
protected Document createNotificationWorkflowDocument(NotificationBo notification)
- Helper method for creating a
Notification
workflow document.
- Parameters:
notification
- the Notification
to include in the workflow document
- Returns:
- a KEW workflow document
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.