org.kuali.rice.ken.services.impl
Class NotificationWorkflowDocumentServiceImplTest

java.lang.Object
  extended by org.kuali.rice.test.BaseRiceTestCase
      extended by org.kuali.rice.test.RiceTestCase
          extended by org.kuali.rice.test.RiceInternalSuiteDataTestCase
              extended by org.kuali.rice.test.BaseModuleTestCase
                  extended by org.kuali.rice.test.BaselineTestCase
                      extended by org.kuali.rice.ken.test.KENTestCase
                          extended by 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)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.ken.test.KENTestCase
KENTestCase.ClearCacheLifecycle
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
 
Fields inherited from class org.kuali.rice.ken.test.KENTestCase
services, transactionManager
 
Fields inherited from class org.kuali.rice.test.BaselineTestCase
dirty
 
Fields inherited from class org.kuali.rice.test.BaseModuleTestCase
LOG, moduleName
 
Fields inherited from class org.kuali.rice.test.RiceTestCase
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
 
Fields inherited from class org.kuali.rice.test.BaseRiceTestCase
log, method
 
Constructor Summary
NotificationWorkflowDocumentServiceImplTest()
           
 
Method Summary
 void createAndAdHocRouteNotificationWorkflowDocument_customKEW()
          Tests whether the custom KEW document type CustomNotification is used when set in this Notification.
 void createAndAdHocRouteNotificationWorkflowDocument_defaultKEW()
          Tests whether the default KEW document type KualiNotification is used when set in this Notification.
 void createAndAdHocRouteNotificationWorkflowDocument_undefinedKEW()
          Tests whether the default KEW document type KualiNotification is used when nothing is set in this Notification.
protected  Document createNotificationWorkflowDocument(NotificationBo notification)
          Helper method for creating a Notification workflow document.
 
Methods inherited from class org.kuali.rice.ken.test.KENTestCase
disableQuartzJobs, enableQuartzJobs, getLoadApplicationLifecycle, getNotificationPerTestLifecycles, getPerTestLifecycles, getPerTestTablesToClear, getSuiteLifecycles, loadDefaultTestData, loadPerTestData, setUpAfterDataLoad
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getPerTestTablesNotToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp
 
Methods inherited from class org.kuali.rice.test.BaseModuleTestCase
getModuleName
 
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData, loadSuiteTestData
 
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 org.kuali.rice.test.BaseRiceTestCase
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationWorkflowDocumentServiceImplTest

public NotificationWorkflowDocumentServiceImplTest()
Method Detail

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-2013 The Kuali Foundation. All Rights Reserved.