public class ServiceBillingDocumentRuleTest extends KualiTestBase
KualiTestConstants.TestConstants
batchScheduleInitialized, 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, stopSpringContext
countTestCases, createResult, getName, run, run, runTest, setName, setUp, tearDown, toString
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
public ServiceBillingDocumentRuleTest()
public final void testSave_nullDocument() throws Exception
Exception
public void testIsDebit_source_income_positveAmount() throws Exception
Exception
public void testIsDebit_source_income_negativeAmount() throws Exception
Exception
public void testIsDebit_source_income_zeroAmount() throws Exception
IllegalStateException
is thrown for a zero incomeException
public void testIsDebit_source_expense_positveAmount() throws Exception
Exception
public void testIsDebit_source_expense_negativeAmount() throws Exception
IllegalStateException
is thrown for a zero expenseException
public void testIsDebit_source_expense_zeroAmount() throws Exception
IllegalStateException
is thrown for a zero expenseException
public void testIsDebit_source_asset_positveAmount() throws Exception
IllegalStateException
is thrown for a positive assetException
public void testIsDebit_source_asset_negativeAmount() throws Exception
IllegalStateException
is thrown for a negative assetException
public void testIsDebit_source_asset_zeroAmount() throws Exception
IllegalStateException
is thrown for a zero assetException
public void testIsDebit_source_liability_positveAmount() throws Exception
IllegalStateException
is NOT thrown for a positive (income/source) liabilityException
public void testIsDebit_source_liability_negativeAmount() throws Exception
IllegalStateException
is NOT thrown for a negative (income/source) liabilityException
public void testIsDebit_source_liability_zeroAmount() throws Exception
IllegalStateException
is thrown for a zero liabilityException
public void testIsDebit_target_income_positveAmount() throws Exception
Exception
public void testIsDebit_target_income_negativeAmount() throws Exception
IllegalStateException
is thrown for a negative incomeException
public void testIsDebit_target_income_zeroAmount() throws Exception
IllegalStateException
is thrown for a zero incomeException
public void testIsDebit_target_expense_positveAmount() throws Exception
Exception
public void testIsDebit_target_expense_negativeAmount() throws Exception
Exception
public void testIsDebit_target_expense_zeroAmount() throws Exception
IllegalStateException
is thrown for a zero expenseException
public void testIsDebit_target_asset_positveAmount() throws Exception
IllegalStateException
is thrown for a positive assetException
public void testIsDebit_target_asset_negativeAmount() throws Exception
IllegalStateException
is thrown for a negative assetException
public void testIsDebit_target_asset_zeroAmount() throws Exception
IllegalStateException
is thrown for a zero assetException
public void testIsDebit_target_liability_positveAmount() throws Exception
IllegalStateException
is thrown for a positive liabilityException
public void testIsDebit_target_liability_negativeAmount() throws Exception
IllegalStateException
is thrown for a negative liabilityException
public void testIsDebit_target_liability_zeroAmount() throws Exception
IllegalStateException
is thrown for a zero liabilityException
public void testIsDebit_errorCorrection_source_income_positveAmount() throws Exception
Exception
public void testIsDebit_errorCorrection_source_income_negativeAmount() throws Exception
Exception
public void testIsDebit_errorCorrection_source_income_zeroAmount() throws Exception
IllegalStateException
is thrown for a zero incomeException
public void testIsDebit_errorCorrection_source_expense_positveAmount() throws Exception
Exception
public void testIsDebit_errorCorrection_source_expense_negativeAmount() throws Exception
Exception
public void testIsDebit_errorCorrection_source_expense_zeroAmount() throws Exception
IllegalStateException
is thrown for a zero expenseException
public void testIsDebit_errorCorrection_source_asset_positveAmount() throws Exception
IllegalStateException
is thrown for a positive assetException
public void testIsDebit_errorCorrection_source_asset_negativeAmount() throws Exception
IllegalStateException
is thrown for a negative assetException
public void testIsDebit_errorCorrection_source_asset_zeroAmount() throws Exception
IllegalStateException
is thrown for a zero assetException
public void testIsDebit_errorCorrection_source_liability_positveAmount() throws Exception
IllegalStateException
is NOT thrown for a positive (income/source) liabilityException
public void testIsDebit_errorCorrection_source_liability_negativeAmount() throws Exception
IllegalStateException
is NOT thrown for a negative (income/source) liabilityException
public void testIsDebit_errorCorrection_source_liability_zeroAmount() throws Exception
IllegalStateException
is thrown for a zero liabilityException
public void testIsDebit_errorCorrection_target_income_positveAmount() throws Exception
Exception
public void testIsDebit_errorCorrection_target_income_negativeAmount() throws Exception
Exception
public void testIsDebit_errorCorrection_target_income_zeroAmount() throws Exception
IllegalStateException
is thrown for a zero incomeException
public void testIsDebit_errorCorrection_target_expense_positveAmount() throws Exception
Exception
public void testIsDebit_errorCorrection_target_expense_negativeAmount() throws Exception
Exception
public void testIsDebit_errorCorrection_target_expense_zeroAmount() throws Exception
IllegalStateException
is thrown for a zero expenseException
public void testIsDebit_errorCorrection_target_asset_positveAmount() throws Exception
IllegalStateException
is thrown for a positive assetException
public void testIsDebit_errorCorrection_target_asset_negativeAmount() throws Exception
IllegalStateException
is thrown for a negative assetException
public void testIsDebit_errorCorrection_target_asset_zeroAmount() throws Exception
IllegalStateException
is thrown for a zero assetException
public void testIsDebit_errorCorrection_target_liability_positveAmount() throws Exception
IllegalStateException
is thrown for a positive liabilityException
public void testIsDebit_errorCorrection_target_liability_negativeAmount() throws Exception
IllegalStateException
is thrown for a negative liabilityException
public void testIsDebit_errorCorrection_target_liability_zeroAmount() throws Exception
IllegalStateException
is thrown for a zero liabilityException
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.