com.retek.component.customer
Class CustomerCreditApplicationTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.component.customer.CustomerCreditApplicationTest
All Implemented Interfaces:
junit.framework.Test

public class CustomerCreditApplicationTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerCreditApplicationTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testApplyCreditApplicationReceiveApprovalCreatesCreditCard()
           
 void testApplyCreditApplicationReceiveDenied()
           
 void testApplyForQuickCreditHasExistingPLCCForBannerThrowsException()
           
 void testApplyForQuickCreditNoPreApprovalApplicationAccepted()
           
 void testApplyForQuickCreditNoPreApprovalApplicationDenied()
           
 void testApplyForQuickCreditNoPreApprovalThirdPartyTimeout()
           
 void testApplyForQuickCreditPreviousOptOutFindsPreApproval()
           
 void testBuildCustomerCreditApplication()
           
 void testBuildCustomerCreditApplicationWithPreApproval()
           
 void testCreateAndFindCustomerCreditPreApproval()
           
 void testCreateCustomerCreditPreApproval()
           
 void testCustomerCreditApplicationMissingRequiredInformationThrowsException()
           
 void testCustomerDoesNotHavePreApprovalIsNotPrompted()
           
 void testCustomerHasExpiredPreApprovalAndHasNoPLCCForBanner()
           
 void testCustomerHasPreApprovalAndHasPLCCInSameBanner()
           
 void testCustomerHasPreApprovalForBannerAndDoesNotAlreadyHavePLCCForBanner()
           
 void testCustomerPreApprovedButPreferenceCreditCardOptOutTrueNotPrompted()
           
 void testIgnoreCustomerCreditPreApprovalWithEarlierExpirationDate()
           
 void testInvalidDateOfBirthThrowsException()
           
 void testInvalidSSNLengthThrowsException()
           
 void testInvalidSSNNumberThrowsException()
           
 void testMultiplePreApprovalsForDifferentCustomersSameNameInBannerDoesNotPrompt()
           
 void testMultiplePreApprovalsForSameCustomerInBannerDoesNotPrompt()
           
 void testStringSetterForDirtyFlagForCreditPreApproval()
           
 void testUniquePreApprovalIds()
           
 void testUpdateCustomerCreditPreApprovalWithLaterExpirationDate()
           
 
Methods inherited from class com.retek.commons.util.RetekTestCase
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertFalse, assertFalse, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertStateEquals, assertStateNotEquals, assertXmlEquals, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, isOracleTestCase, resetSystemRDateToBusinessDay, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomerCreditApplicationTest

public CustomerCreditApplicationTest(java.lang.String name)
Method Detail

doInitialSetUp

public void doInitialSetUp()
                    throws java.lang.Exception
Specified by:
doInitialSetUp in class RetekTestCase
Throws:
java.lang.Exception

doSetUp

public void doSetUp()
             throws java.lang.Exception
Specified by:
doSetUp in class RetekTestCase
Throws:
java.lang.Exception

doTearDown

public void doTearDown()
                throws java.lang.Exception
Specified by:
doTearDown in class RetekTestCase
Throws:
java.lang.Exception

testCreateCustomerCreditPreApproval

public void testCreateCustomerCreditPreApproval()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testCreateAndFindCustomerCreditPreApproval

public void testCreateAndFindCustomerCreditPreApproval()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateCustomerCreditPreApprovalWithLaterExpirationDate

public void testUpdateCustomerCreditPreApprovalWithLaterExpirationDate()
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

testIgnoreCustomerCreditPreApprovalWithEarlierExpirationDate

public void testIgnoreCustomerCreditPreApprovalWithEarlierExpirationDate()
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testUniquePreApprovalIds

public void testUniquePreApprovalIds()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testStringSetterForDirtyFlagForCreditPreApproval

public void testStringSetterForDirtyFlagForCreditPreApproval()
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

testCustomerHasPreApprovalForBannerAndDoesNotAlreadyHavePLCCForBanner

public void testCustomerHasPreApprovalForBannerAndDoesNotAlreadyHavePLCCForBanner()
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

testCustomerHasPreApprovalAndHasPLCCInSameBanner

public void testCustomerHasPreApprovalAndHasPLCCInSameBanner()
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

testCustomerHasExpiredPreApprovalAndHasNoPLCCForBanner

public void testCustomerHasExpiredPreApprovalAndHasNoPLCCForBanner()
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

testCustomerDoesNotHavePreApprovalIsNotPrompted

public void testCustomerDoesNotHavePreApprovalIsNotPrompted()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testMultiplePreApprovalsForDifferentCustomersSameNameInBannerDoesNotPrompt

public void testMultiplePreApprovalsForDifferentCustomersSameNameInBannerDoesNotPrompt()
                                                                                throws java.lang.Exception
Throws:
java.lang.Exception

testMultiplePreApprovalsForSameCustomerInBannerDoesNotPrompt

public void testMultiplePreApprovalsForSameCustomerInBannerDoesNotPrompt()
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testCustomerPreApprovedButPreferenceCreditCardOptOutTrueNotPrompted

public void testCustomerPreApprovedButPreferenceCreditCardOptOutTrueNotPrompted()
                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

testBuildCustomerCreditApplication

public void testBuildCustomerCreditApplication()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testBuildCustomerCreditApplicationWithPreApproval

public void testBuildCustomerCreditApplicationWithPreApproval()
                                                       throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidSSNLengthThrowsException

public void testInvalidSSNLengthThrowsException()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidSSNNumberThrowsException

public void testInvalidSSNNumberThrowsException()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidDateOfBirthThrowsException

public void testInvalidDateOfBirthThrowsException()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testCustomerCreditApplicationMissingRequiredInformationThrowsException

public void testCustomerCreditApplicationMissingRequiredInformationThrowsException()
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

testApplyCreditApplicationReceiveApprovalCreatesCreditCard

public void testApplyCreditApplicationReceiveApprovalCreatesCreditCard()
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

testApplyCreditApplicationReceiveDenied

public void testApplyCreditApplicationReceiveDenied()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testApplyForQuickCreditHasExistingPLCCForBannerThrowsException

public void testApplyForQuickCreditHasExistingPLCCForBannerThrowsException()
                                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testApplyForQuickCreditPreviousOptOutFindsPreApproval

public void testApplyForQuickCreditPreviousOptOutFindsPreApproval()
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

testApplyForQuickCreditNoPreApprovalThirdPartyTimeout

public void testApplyForQuickCreditNoPreApprovalThirdPartyTimeout()
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

testApplyForQuickCreditNoPreApprovalApplicationAccepted

public void testApplyForQuickCreditNoPreApprovalApplicationAccepted()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testApplyForQuickCreditNoPreApprovalApplicationDenied

public void testApplyForQuickCreditNoPreApprovalApplicationDenied()
                                                           throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28