com.retek.component.customerorder
Class CustomerOrderCreditCardPaymentTest

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

public class CustomerOrderCreditCardPaymentTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderCreditCardPaymentTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testAddCCPaymentAfterFullCCPaymentCancellation()
           
 void testAddCCPaymentAfterFullCCPaymentCancelled()
           
 void testAddCheckAndCCPaymentAfterFullCCPaymentCancelled()
           
 void testAddCreditCardPaymentToMailOrderWithoutRequiredFields()
           
 void testAddCreditCardPaymentToOrderWithoutRequiredFields()
           
 void testAddPartialCheckPaymentAfterFullCCPaymentCancelled()
           
 void testAddPrivateLabelCreditCardPaymentToOrderDefaultsPlanCode()
           
 void testAddPrivateLabelCreditCardPaymentToOrderNullExpirationDateIsValid()
           
 void testAddPrivateLabelCreditCardPaymentToOrderValidatePlanCode()
           
 void testAddPrivateLabelCreditCardPaymentToOrderValidateTenderType()
           
 void testAuthorizePayment()
           
 void testAuthorizePaymentPrivateLabelCreditCard()
           
 void testAuthorizePaymentResponseReferenceFields()
           
 void testAuthorizePaymentUnauthorizedAmount()
           
 void testBuildInstance()
           
 void testCreditCardAuthorizationIllegalArguments()
           
 void testCreditCardPaymentWithEncryptedNumber()
           
 void testCreditCardRefundPaymentNotAllowedForExpiredAuthorization()
           
 void testCreditCardWithMultipleSettlements()
           
 void testManuallyAuthorizeAllPaymentStatuses()
           
 void testManuallyAuthorizeCreditCardPayment()
           
 void testManuallyAuthorizeFraudCreditCard()
           
 void testManuallyAuthorizeFraudCreditCardAfterSubmit()
           
 void testManuallyAuthorizeFraudCreditCardAfterSubmitCreatesHistory()
           
 void testManuallyAuthorizeUnauthorizedAmount()
           
 
Methods inherited from class com.retek.component.customerorder.CustomerOrderApiTestCase
createCustomerOrderWithOneLineWithFullPayment, createCustomerOrderWithOneLineWithOutPayment, createOrderLines, createOrderLines, createOrderWithOneOrderline, getAndSubmitSupplier, getCustomerOrderLineStateModel, getCustomerOrderPaymentStateModel, getCustomerOrderStateModel, getReturnLineStateModel, getValidSourceCode
 
Methods inherited from class com.retek.commons.util.RetekTestCase
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertRibException, assertSize, assertStateEquals, assertStateEquals, assertStateNotEquals, assertStateNotEquals, assertXmlEquals, doClassSetUp, doInitialSetUp, doPackageSetUp, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, isOracleTestCase, resetSystemRDateToBusinessDay, run, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
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, 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

CustomerOrderCreditCardPaymentTest

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

doSetUp

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

doTearDown

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

testBuildInstance

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

testAuthorizePayment

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

testAuthorizePaymentPrivateLabelCreditCard

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

testAuthorizePaymentUnauthorizedAmount

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

testCreditCardAuthorizationIllegalArguments

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

testAddCreditCardPaymentToMailOrderWithoutRequiredFields

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

testAddCreditCardPaymentToOrderWithoutRequiredFields

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

testAddPrivateLabelCreditCardPaymentToOrderValidatePlanCode

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

testAddPrivateLabelCreditCardPaymentToOrderNullExpirationDateIsValid

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

testAddPrivateLabelCreditCardPaymentToOrderDefaultsPlanCode

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

testAddPrivateLabelCreditCardPaymentToOrderValidateTenderType

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

testCreditCardWithMultipleSettlements

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

testManuallyAuthorizeCreditCardPayment

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

testManuallyAuthorizeUnauthorizedAmount

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

testManuallyAuthorizeAllPaymentStatuses

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

testManuallyAuthorizeFraudCreditCard

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

testManuallyAuthorizeFraudCreditCardAfterSubmit

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

testAddCCPaymentAfterFullCCPaymentCancellation

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

testAddPartialCheckPaymentAfterFullCCPaymentCancelled

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

testAddCCPaymentAfterFullCCPaymentCancelled

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

testCreditCardPaymentWithEncryptedNumber

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

testManuallyAuthorizeFraudCreditCardAfterSubmitCreatesHistory

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

testAuthorizePaymentResponseReferenceFields

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

testAddCheckAndCCPaymentAfterFullCCPaymentCancelled

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

testCreditCardRefundPaymentNotAllowedForExpiredAuthorization

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


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25