| org.kuali.kfs.context.KualiTestBase org.kuali.module.financial.document.AccountingDocumentTestUtils
AccountingDocumentTestUtils | final public class AccountingDocumentTestUtils extends KualiTestBase (Code) | | |
Method Summary | |
public static void | approve(String docHeaderId, UserNameFixture user, String expectedNode, DocumentService documentService) | public static void | approveDocument(AccountingDocument document, DocumentService documentService) | public static void | assertMatch(T document1, T document2) | public static void | routeDocument(AccountingDocument document, String annotation, List<AdHocRouteRecipient> adHocRoutingRecipients, DocumentService documentService) | public static void | routeDocument(AccountingDocument document, DocumentService documentService) | public static void | saveDocument(AccountingDocument document, DocumentService documentService) | public static void | testAddAccountingLine(AccountingDocument document, List<SourceAccountingLine> sourceLines, List<TargetAccountingLine> targetLines, int expectedSourceTotal, int expectedTargetTotal) | public static void | testConvertIntoCopy(AccountingDocument document, DocumentService documentService, int expectedPrePECount) | public static void | testConvertIntoCopy_copyDisallowed(AccountingDocument document, DataDictionaryService dataDictionaryService) | public static void | testConvertIntoErrorCorrection(AccountingDocument document, int expectedPrePECount, DocumentService documentService, TransactionalDocumentDictionaryService dictionaryService) | public static void | testConvertIntoErrorCorrection_documentAlreadyCorrected(AccountingDocument document, TransactionalDocumentDictionaryService dictionaryService) | public static void | testConvertIntoErrorCorrection_errorCorrectionDisallowed(AccountingDocument document, DataDictionaryService dataDictionaryService) | public static void | testConvertIntoErrorCorrection_invalidYear(AccountingDocument document, TransactionalDocumentDictionaryService dictionaryService, AccountingPeriodService accountingPeriodService) | public static void | testGetNewDocument_byDocumentClass(Class<T> documentClass, DocumentService documentService) | public void | testPlaceholder() | public static void | testRouteDocument(AccountingDocument document, DocumentService documentService) | public static void | testSaveDocument(AccountingDocument document, DocumentService documentService) |
assertMatch | public static void assertMatch(T document1, T document2)(Code) | | |
testPlaceholder | public void testPlaceholder()(Code) | | |
|
|