com.retek.component.payment
Class CreditCardPaymentTest

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

public class CreditCardPaymentTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CreditCardPaymentTest(java.lang.String name)
           
 
Method Summary
 void assertCreditCardPaymentsEqualIgnoringResultCodeAndAmount(CreditCardPayment expected, CreditCardPayment actual)
           
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testCreateAndReadCreditCardAuthorization()
           
 void testCreateAndReadCreditCardAuthorizationWithEmptyAVSCode()
           
 void testCreateAndReadCreditCardAuthorizationWithInvalidAVSCode()
           
 void testCreateAndReadCreditCardAuthorizationWithUnkonwAVSCode()
           
 void testCreditCardAuthorizationForApprovedSuffix()
           
 void testCreditCardAuthorizationForApprovedSuffixWithCustomerAddress()
           
 void testCreditCardAuthorizationForApprovedSuffixWithCvvCode()
           
 void testCreditCardAuthorizationForApprovedSuffixWithoutCustomerAddress()
           
 void testCreditCardAuthorizationForApprovedSuffixWithoutCvvCode()
           
 void testCreditCardAuthorizationForBatchSuffix()
           
 void testCreditCardAuthorizationForDeclinedSuffix()
           
 void testCreditCardAuthorizationForFraudSuffix()
           
 void testCreditCardAuthorizationForPrivateLabelCreditCard()
           
 void testCreditCardAuthorizationForReferralSuffix()
           
 void testCreditCardAuthorizationForUnDefinedSuffix()
           
 void testCreditCardSettlement()
           
 void testCreditCardSettlementWhenAlreadySettled()
           
 void testCreditCardWithMultipleSettlements()
           
 void testCreditCardWithSettlementLargerThanAuthorized()
           
 
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

CreditCardPaymentTest

public CreditCardPaymentTest(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

testCreateAndReadCreditCardAuthorization

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

testCreateAndReadCreditCardAuthorizationWithInvalidAVSCode

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

testCreateAndReadCreditCardAuthorizationWithEmptyAVSCode

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

testCreateAndReadCreditCardAuthorizationWithUnkonwAVSCode

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

testCreditCardAuthorizationForApprovedSuffix

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

testCreditCardAuthorizationForDeclinedSuffix

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

testCreditCardAuthorizationForBatchSuffix

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

testCreditCardAuthorizationForFraudSuffix

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

testCreditCardAuthorizationForReferralSuffix

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

testCreditCardAuthorizationForApprovedSuffixWithCustomerAddress

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

testCreditCardAuthorizationForPrivateLabelCreditCard

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

testCreditCardAuthorizationForApprovedSuffixWithoutCustomerAddress

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

testCreditCardAuthorizationForApprovedSuffixWithCvvCode

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

testCreditCardAuthorizationForApprovedSuffixWithoutCvvCode

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

testCreditCardAuthorizationForUnDefinedSuffix

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

testCreditCardSettlement

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

testCreditCardWithMultipleSettlements

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

assertCreditCardPaymentsEqualIgnoringResultCodeAndAmount

public void assertCreditCardPaymentsEqualIgnoringResultCodeAndAmount(CreditCardPayment expected,
                                                                     CreditCardPayment actual)

testCreditCardWithSettlementLargerThanAuthorized

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

testCreditCardSettlementWhenAlreadySettled

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


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