public class ServiceBillingDocumentRuleTest extends KualiTestBase
KualiTestConstants.TestConstantsbatchScheduleInitialized, configurationFailure, generatedFiles, log4jConfigured, springContextInitialized, transactionStatus, userSession, userSessionUsername| Constructor and Description |
|---|
ServiceBillingDocumentRuleTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testIsDebit_errorCorrection_source_asset_negativeAmount()
tests an
IllegalStateException is thrown for a negative asset |
void |
testIsDebit_errorCorrection_source_asset_positveAmount()
tests an
IllegalStateException is thrown for a positive asset |
void |
testIsDebit_errorCorrection_source_asset_zeroAmount()
tests an
IllegalStateException is thrown for a zero asset |
void |
testIsDebit_errorCorrection_source_expense_negativeAmount()
tests true is returned for a zero expense
|
void |
testIsDebit_errorCorrection_source_expense_positveAmount()
tests false is returned for a positive expense
|
void |
testIsDebit_errorCorrection_source_expense_zeroAmount()
tests an
IllegalStateException is thrown for a zero expense |
void |
testIsDebit_errorCorrection_source_income_negativeAmount()
tests true is returned for a negative income
|
void |
testIsDebit_errorCorrection_source_income_positveAmount()
tests flase is returned for a positive income
|
void |
testIsDebit_errorCorrection_source_income_zeroAmount()
tests an
IllegalStateException is thrown for a zero income |
void |
testIsDebit_errorCorrection_source_liability_negativeAmount()
tests an
IllegalStateException is NOT thrown for a negative (income/source) liability |
void |
testIsDebit_errorCorrection_source_liability_positveAmount()
tests an
IllegalStateException is NOT thrown for a positive (income/source) liability |
void |
testIsDebit_errorCorrection_source_liability_zeroAmount()
tests an
IllegalStateException is thrown for a zero liability |
void |
testIsDebit_errorCorrection_target_asset_negativeAmount()
tests an
IllegalStateException is thrown for a negative asset |
void |
testIsDebit_errorCorrection_target_asset_positveAmount()
tests an
IllegalStateException is thrown for a positive asset |
void |
testIsDebit_errorCorrection_target_asset_zeroAmount()
tests an
IllegalStateException is thrown for a zero asset |
void |
testIsDebit_errorCorrection_target_expense_negativeAmount()
tests false is returned for a zero expense
|
void |
testIsDebit_errorCorrection_target_expense_positveAmount()
tests true is returned for a positive expense
|
void |
testIsDebit_errorCorrection_target_expense_zeroAmount()
tests an
IllegalStateException is thrown for a zero expense |
void |
testIsDebit_errorCorrection_target_income_negativeAmount()
tests false is returned for a negative income
|
void |
testIsDebit_errorCorrection_target_income_positveAmount()
tests true is returned for a positive income
|
void |
testIsDebit_errorCorrection_target_income_zeroAmount()
tests an
IllegalStateException is thrown for a zero income |
void |
testIsDebit_errorCorrection_target_liability_negativeAmount()
tests an
IllegalStateException is thrown for a negative liability |
void |
testIsDebit_errorCorrection_target_liability_positveAmount()
tests an
IllegalStateException is thrown for a positive liability |
void |
testIsDebit_errorCorrection_target_liability_zeroAmount()
tests an
IllegalStateException is thrown for a zero liability |
void |
testIsDebit_source_asset_negativeAmount()
tests an
IllegalStateException is thrown for a negative asset |
void |
testIsDebit_source_asset_positveAmount()
tests an
IllegalStateException is thrown for a positive asset |
void |
testIsDebit_source_asset_zeroAmount()
tests an
IllegalStateException is thrown for a zero asset |
void |
testIsDebit_source_expense_negativeAmount()
tests an
IllegalStateException is thrown for a zero expense |
void |
testIsDebit_source_expense_positveAmount()
tests false is returned for a positive expense
|
void |
testIsDebit_source_expense_zeroAmount()
tests an
IllegalStateException is thrown for a zero expense |
void |
testIsDebit_source_income_negativeAmount()
tests true is returned for a negative income
|
void |
testIsDebit_source_income_positveAmount()
tests false is returned for a positive income
|
void |
testIsDebit_source_income_zeroAmount()
tests an
IllegalStateException is thrown for a zero income |
void |
testIsDebit_source_liability_negativeAmount()
tests an
IllegalStateException is NOT thrown for a negative (income/source) liability |
void |
testIsDebit_source_liability_positveAmount()
tests an
IllegalStateException is NOT thrown for a positive (income/source) liability |
void |
testIsDebit_source_liability_zeroAmount()
tests an
IllegalStateException is thrown for a zero liability |
void |
testIsDebit_target_asset_negativeAmount()
tests an
IllegalStateException is thrown for a negative asset |
void |
testIsDebit_target_asset_positveAmount()
tests an
IllegalStateException is thrown for a positive asset |
void |
testIsDebit_target_asset_zeroAmount()
tests an
IllegalStateException is thrown for a zero asset |
void |
testIsDebit_target_expense_negativeAmount()
tests false is returned for a zero expense
|
void |
testIsDebit_target_expense_positveAmount()
tests true is returned for a positive expense
|
void |
testIsDebit_target_expense_zeroAmount()
tests an
IllegalStateException is thrown for a zero expense |
void |
testIsDebit_target_income_negativeAmount()
tests an
IllegalStateException is thrown for a negative income |
void |
testIsDebit_target_income_positveAmount()
tests true is returned for a positive income
|
void |
testIsDebit_target_income_zeroAmount()
tests an
IllegalStateException is thrown for a zero income |
void |
testIsDebit_target_liability_negativeAmount()
tests an
IllegalStateException is thrown for a negative liability |
void |
testIsDebit_target_liability_positveAmount()
tests an
IllegalStateException is thrown for a positive liability |
void |
testIsDebit_target_liability_zeroAmount()
tests an
IllegalStateException is thrown for a zero liability |
void |
testSave_nullDocument() |
addGeneratedFile, changeCurrentUser, clearAllCaches, clearBoCache, dumpMessageMapErrors, getTransactionManager, runBare, stopSpringContextcountTestCases, createResult, getName, run, run, runTest, setName, setUp, tearDown, toStringassertEquals, 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, formatpublic ServiceBillingDocumentRuleTest()
public final void testSave_nullDocument() throws Exception
Exceptionpublic void testIsDebit_source_income_positveAmount() throws Exception
Exceptionpublic void testIsDebit_source_income_negativeAmount() throws Exception
Exceptionpublic void testIsDebit_source_income_zeroAmount() throws Exception
IllegalStateException is thrown for a zero incomeExceptionpublic void testIsDebit_source_expense_positveAmount() throws Exception
Exceptionpublic void testIsDebit_source_expense_negativeAmount() throws Exception
IllegalStateException is thrown for a zero expenseExceptionpublic void testIsDebit_source_expense_zeroAmount() throws Exception
IllegalStateException is thrown for a zero expenseExceptionpublic void testIsDebit_source_asset_positveAmount() throws Exception
IllegalStateException is thrown for a positive assetExceptionpublic void testIsDebit_source_asset_negativeAmount() throws Exception
IllegalStateException is thrown for a negative assetExceptionpublic void testIsDebit_source_asset_zeroAmount() throws Exception
IllegalStateException is thrown for a zero assetExceptionpublic void testIsDebit_source_liability_positveAmount() throws Exception
IllegalStateException is NOT thrown for a positive (income/source) liabilityExceptionpublic void testIsDebit_source_liability_negativeAmount() throws Exception
IllegalStateException is NOT thrown for a negative (income/source) liabilityExceptionpublic void testIsDebit_source_liability_zeroAmount() throws Exception
IllegalStateException is thrown for a zero liabilityExceptionpublic void testIsDebit_target_income_positveAmount() throws Exception
Exceptionpublic void testIsDebit_target_income_negativeAmount() throws Exception
IllegalStateException is thrown for a negative incomeExceptionpublic void testIsDebit_target_income_zeroAmount() throws Exception
IllegalStateException is thrown for a zero incomeExceptionpublic void testIsDebit_target_expense_positveAmount() throws Exception
Exceptionpublic void testIsDebit_target_expense_negativeAmount() throws Exception
Exceptionpublic void testIsDebit_target_expense_zeroAmount() throws Exception
IllegalStateException is thrown for a zero expenseExceptionpublic void testIsDebit_target_asset_positveAmount() throws Exception
IllegalStateException is thrown for a positive assetExceptionpublic void testIsDebit_target_asset_negativeAmount() throws Exception
IllegalStateException is thrown for a negative assetExceptionpublic void testIsDebit_target_asset_zeroAmount() throws Exception
IllegalStateException is thrown for a zero assetExceptionpublic void testIsDebit_target_liability_positveAmount() throws Exception
IllegalStateException is thrown for a positive liabilityExceptionpublic void testIsDebit_target_liability_negativeAmount() throws Exception
IllegalStateException is thrown for a negative liabilityExceptionpublic void testIsDebit_target_liability_zeroAmount() throws Exception
IllegalStateException is thrown for a zero liabilityExceptionpublic void testIsDebit_errorCorrection_source_income_positveAmount() throws Exception
Exceptionpublic void testIsDebit_errorCorrection_source_income_negativeAmount() throws Exception
Exceptionpublic void testIsDebit_errorCorrection_source_income_zeroAmount() throws Exception
IllegalStateException is thrown for a zero incomeExceptionpublic void testIsDebit_errorCorrection_source_expense_positveAmount() throws Exception
Exceptionpublic void testIsDebit_errorCorrection_source_expense_negativeAmount() throws Exception
Exceptionpublic void testIsDebit_errorCorrection_source_expense_zeroAmount() throws Exception
IllegalStateException is thrown for a zero expenseExceptionpublic void testIsDebit_errorCorrection_source_asset_positveAmount() throws Exception
IllegalStateException is thrown for a positive assetExceptionpublic void testIsDebit_errorCorrection_source_asset_negativeAmount() throws Exception
IllegalStateException is thrown for a negative assetExceptionpublic void testIsDebit_errorCorrection_source_asset_zeroAmount() throws Exception
IllegalStateException is thrown for a zero assetExceptionpublic void testIsDebit_errorCorrection_source_liability_positveAmount() throws Exception
IllegalStateException is NOT thrown for a positive (income/source) liabilityExceptionpublic void testIsDebit_errorCorrection_source_liability_negativeAmount() throws Exception
IllegalStateException is NOT thrown for a negative (income/source) liabilityExceptionpublic void testIsDebit_errorCorrection_source_liability_zeroAmount() throws Exception
IllegalStateException is thrown for a zero liabilityExceptionpublic void testIsDebit_errorCorrection_target_income_positveAmount() throws Exception
Exceptionpublic void testIsDebit_errorCorrection_target_income_negativeAmount() throws Exception
Exceptionpublic void testIsDebit_errorCorrection_target_income_zeroAmount() throws Exception
IllegalStateException is thrown for a zero incomeExceptionpublic void testIsDebit_errorCorrection_target_expense_positveAmount() throws Exception
Exceptionpublic void testIsDebit_errorCorrection_target_expense_negativeAmount() throws Exception
Exceptionpublic void testIsDebit_errorCorrection_target_expense_zeroAmount() throws Exception
IllegalStateException is thrown for a zero expenseExceptionpublic void testIsDebit_errorCorrection_target_asset_positveAmount() throws Exception
IllegalStateException is thrown for a positive assetExceptionpublic void testIsDebit_errorCorrection_target_asset_negativeAmount() throws Exception
IllegalStateException is thrown for a negative assetExceptionpublic void testIsDebit_errorCorrection_target_asset_zeroAmount() throws Exception
IllegalStateException is thrown for a zero assetExceptionpublic void testIsDebit_errorCorrection_target_liability_positveAmount() throws Exception
IllegalStateException is thrown for a positive liabilityExceptionpublic void testIsDebit_errorCorrection_target_liability_negativeAmount() throws Exception
IllegalStateException is thrown for a negative liabilityExceptionpublic void testIsDebit_errorCorrection_target_liability_zeroAmount() throws Exception
IllegalStateException is thrown for a zero liabilityExceptionCopyright © 2004–2015 The Kuali Foundation. All rights reserved.